Skip to content

The Unified and Autonomous Development Platform

More k8s permissions to grant for gitops demo

Robin Shenaadab08fd5d6
diff --git a/server-product/k8s/base/cluster-roles.yaml b/server-product/k8s/base/cluster-roles.yaml
index c89ef72811..60a84b6ee0 100644
--- a/server-product/k8s/base/cluster-roles.yaml
+++ b/server-product/k8s/base/cluster-roles.yaml
@@ -14,7 +14,7 @@ rules:
verbs: ["get", "list", "patch"] #require this permission to label nodes with build cache properties to increase cache hit rate
- apiGroups: [""]
resources: ["services", "pods", "pods/log", "pods/exec", "secrets", "configmaps", "events"]
- verbs: ["get", "list", "watch", "create", "delete"] #require this permission to run builds as pods
+ verbs: ["get", "list", "watch", "create", "patch", "delete"] #require this permission to run builds as pods
- apiGroups: ["apps"]
resources: ["deployments"]
- verbs: ["get", "list", "create", "delete"] #require this permission to run builds as pods
\ No newline at end of file
+ verbs: ["get", "list", "create", "patch", "delete"] #require this permission to run builds as pods
\ No newline at end of file