diff --git a/.github/workflows/e2e/scripts/create-project-namespace.sh b/.github/workflows/e2e/scripts/create-project-namespace.sh index f012e7b1..ac78e519 100755 --- a/.github/workflows/e2e/scripts/create-project-namespace.sh +++ b/.github/workflows/e2e/scripts/create-project-namespace.sh @@ -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"