Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix namespace for longevity cronjob #1691

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/scripts/vars.env-example
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GKE_CLUSTER_REGION=<region where GKE cluster is deployed>
GKE_PROJECT=<GCP project>
GKE_SVC_ACCOUNT=<service account with k8s admin permissions>
GKE_NODES_SERVICE_ACCOUNT=<service account for the GKE nodes to assume>
IMAGE=projects/debian-cloud/global/images/debian-11-bullseye-v20231212
IMAGE=projects/debian-cloud/global/images/debian-11-bullseye-v20240213
NETWORK_TAGS=<network tags>
NGF_REPO=nginxinc
NGF_BRANCH=main
Expand Down
4 changes: 2 additions & 2 deletions tests/suite/manifests/longevity/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spec:
-H "Authorization: Bearer $TOKEN" \
-H "Content-type: application/merge-patch+json" \
--data-raw "{\"spec\": {\"template\": {\"metadata\": {\"annotations\": {\"kubectl.kubernetes.io/restartedAt\": \"$RESTARTED_AT\"}}}}}" \
"https://kubernetes.default/apis/apps/v1/namespaces/default/deployments/coffee?fieldManager=kubectl-rollout" 2>&1
"https://kubernetes.default/apis/apps/v1/namespaces/longevity/deployments/coffee?fieldManager=kubectl-rollout" 2>&1
restartPolicy: OnFailure
---
apiVersion: batch/v1
Expand Down Expand Up @@ -82,5 +82,5 @@ spec:
-H "Authorization: Bearer $TOKEN" \
-H "Content-type: application/merge-patch+json" \
--data-raw "{\"spec\": {\"template\": {\"metadata\": {\"annotations\": {\"kubectl.kubernetes.io/restartedAt\": \"$RESTARTED_AT\"}}}}}" \
"https://kubernetes.default/apis/apps/v1/namespaces/default/deployments/tea?fieldManager=kubectl-rollout" 2>&1
"https://kubernetes.default/apis/apps/v1/namespaces/longevity/deployments/tea?fieldManager=kubectl-rollout" 2>&1
restartPolicy: OnFailure
Loading