From dc76ca70f19c22e8f0c806f84d95256d771f3dc9 Mon Sep 17 00:00:00 2001 From: Jorge Turrado Ferrero Date: Thu, 16 Nov 2023 15:53:54 +0100 Subject: [PATCH] fix: use new injection appoach for gcp e2e tests (#5187) * fix: use new injection appoach for gcp e2e tests Signed-off-by: Jorge Turrado * fix typo Signed-off-by: Jorge Turrado --------- Signed-off-by: Jorge Turrado Signed-off-by: Zbynek Roubalik --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c6fd1adaee0..135e0442811 100644 --- a/Makefile +++ b/Makefile @@ -283,7 +283,7 @@ deploy: install ## Deploy controller to the K8s cluster specified in ~/.kube/con fi if [ "$(GCP_RUN_IDENTITY_TESTS)" = true ]; then \ cd config/service_account && \ - $(KUSTOMIZE) edit add annotation --force cloud.google.com/workload-identity-provider:${GCP_WI_PROVIDER} cloud.google.com/service-account-email:${TF_GCP_SA_EMAIL} cloud.google.com/gcloud-run-as-user:${NON_ROOT_USER_ID}; \ + $(KUSTOMIZE) edit add annotation --force cloud.google.com/workload-identity-provider:${GCP_WI_PROVIDER} cloud.google.com/service-account-email:${TF_GCP_SA_EMAIL} cloud.google.com/gcloud-run-as-user:${NON_ROOT_USER_ID} cloud.google.com/injection-mode:direct; \ fi cd config/webhooks && \