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 6309031 commit 890e836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e/scripts/create-project-namespace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source $(dirname $0)/entry
cd $(dirname $0)/../../../..

kubectl create namespace e2e-hpo || true
kubectl label namespace e2e-hpo field.cattle.io/projectId=p-example --overwrite
kubectl label namespace e2e-hpo 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 890e836

Please sign in to comment.