Skip to content

Agent Mesh

fix policies.yaml configuration in hub kubernetes template to use bindings

Antonio Ojea504f6acaa524
diff --git a/.github/k8s/sam-hub-template.yaml b/.github/k8s/sam-hub-template.yaml
index f8888574..e65f8b6c 100644
--- a/.github/k8s/sam-hub-template.yaml
+++ b/.github/k8s/sam-hub-template.yaml
@@ -128,8 +128,11 @@ metadata:
data:
policies.yaml: |
version: "v1alpha1"
+ bindings:
+ - group: "system:serviceaccounts:sam-canary-${ENV_NAME}"
+ role: "sam-canary"
roles:
- system:serviceaccounts:sam-canary-${ENV_NAME}:
+ sam-canary:
mcp:
allowed_tools:
- "/sam/mcp/1.0.0"