Skip to content

Commit

Permalink
chore: Setting pubsub annotations using --set in makefile (open-polic…
Browse files Browse the repository at this point in the history
…y-agent#3160)

Signed-off-by: Jaydip Gabani <[email protected]>
  • Loading branch information
JaydipGabani authored and leewoobin789 committed Apr 1, 2024
1 parent 5fbaef6 commit 4c86a8f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 4c86a8f

Please sign in to comment.