Skip to content

Commit

Permalink
Adjust ci to use new webhook project label method
Browse files Browse the repository at this point in the history
  • Loading branch information
mallardduck committed Oct 4, 2024
1 parent b25c950 commit 8fa53eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/e2e/scripts/create-project-namespace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ cd $(dirname $0)/../../../..

kubectl create namespace e2e-prometheus-federator || true
kubectl label namespace e2e-prometheus-federator field.cattle.io/projectId=p-example --overwrite
kubectl annotate namespace e2e-prometheus-federator field.cattle.io/projectId=local:p-example --overwrite
sleep "${DEFAULT_SLEEP_TIMEOUT_SECONDS}"
if ! kubectl get namespace cattle-project-p-example; then
echo "ERROR: Expected cattle-project-p-example namespace to exist after ${DEFAULT_SLEEP_TIMEOUT_SECONDS} seconds, not found"
Expand Down

0 comments on commit 8fa53eb

Please sign in to comment.