Skip to content

Agent Mesh

update dns job permissions

Antonio Ojeab0da62077554
diff --git a/.github/k8s/dns-sync-cronjob-template.yaml b/.github/k8s/dns-sync-cronjob-template.yaml
index e92d2daf..b1f40549 100644
--- a/.github/k8s/dns-sync-cronjob-template.yaml
+++ b/.github/k8s/dns-sync-cronjob-template.yaml
@@ -13,10 +13,10 @@ metadata:
rules:
- apiGroups: [""]
resources: ["nodes"]
- verbs: ["get", "list"]
+ verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["pods", "pods/log"]
- verbs: ["get", "list"]
+ verbs: ["get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding