From ef1ebfffafef446cd6adc375728f1d535c1cf893 Mon Sep 17 00:00:00 2001 From: Jaydipkumar Arvindbhai Gabani Date: Tue, 30 Jan 2024 16:15:29 -0800 Subject: [PATCH] chore: Setting pubsub annotations using --set in makefile (#3160) Signed-off-by: Jaydip Gabani --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f34355ca247..2daf6c0c0d1 100644 --- a/Makefile +++ b/Makefile @@ -186,7 +186,6 @@ e2e-helm-install: e2e-helm-deploy: e2e-helm-install ifeq ($(ENABLE_PUBSUB),true) - @echo 'auditPodAnnotations: {dapr.io/enabled: "true", dapr.io/app-id: "audit", dapr.io/metrics-port: "9999"}' > .tmp/annotations.yaml ./.staging/helm/linux-amd64/helm install manifest_staging/charts/gatekeeper --name-template=gatekeeper \ --namespace ${GATEKEEPER_NAMESPACE} \ --debug --wait \ @@ -206,7 +205,9 @@ ifeq ($(ENABLE_PUBSUB),true) --set audit.enablePubsub=${ENABLE_PUBSUB} \ --set audit.connection=${AUDIT_CONNECTION} \ --set audit.channel=${AUDIT_CHANNEL} \ - --values .tmp/annotations.yaml \ + --set-string auditPodAnnotations.dapr\\.io/enabled=true \ + --set-string auditPodAnnotations.dapr\\.io/app-id=audit \ + --set-string auditPodAnnotations.dapr\\.io/metrics-port=9999 \ --set mutationAnnotations=true; else ./.staging/helm/linux-amd64/helm install manifest_staging/charts/gatekeeper --name-template=gatekeeper \