Skip to content

Agent Mesh

fix audiencies on deployment

Antonio Ojea537bee3ada10
diff --git a/.github/k8s/sam-hub-template.yaml b/.github/k8s/sam-hub-template.yaml
index ec87a0e9..b569768f 100644
--- a/.github/k8s/sam-hub-template.yaml
+++ b/.github/k8s/sam-hub-template.yaml
@@ -65,7 +65,7 @@ spec:
# 1. Trust Dex for humans/Google/GitHub. 2. Trust GKE for internal Canaries.
- "--issuer=https://auth.sam-mesh.dev,https://container.googleapis.com/v1/projects/${GCP_PROJECT_ID}/locations/${CLUSTER_REGION}/clusters/${CLUSTER_NAME}"
# 1. Dex CLI client ID. 2. Canary projected volume audience.
- - "--audiences=sam-mesh-audience,sam-hub-audience"
+ - "--allowed-audiences=sam-mesh-audience,sam-hub-audience"
resources:
requests:
cpu: 100m