The Unified and Autonomous Development Platform
fix(helm): grant PVC permissions in ClusterRole
Robin Shen7fd36cd45cec
diff --git a/server-product/helm/templates/clusterrole.yaml b/server-product/helm/templates/clusterrole.yamlindex 0e9ecdaa5d..b09433f9d2 100644--- a/server-product/helm/templates/clusterrole.yaml+++ b/server-product/helm/templates/clusterrole.yaml@@ -17,6 +17,9 @@ rules:- apiGroups: [""]resources: ["services", "pods", "pods/log", "pods/exec", "secrets", "configmaps", "events"]verbs: ["get", "list", "watch", "create", "patch", "delete"] #require this permission to run builds as pods+ - apiGroups: [""]+ resources: ["persistentvolumeclaims"]+ verbs: ["get", "list", "watch", "create", "patch", "delete"] #require this permission to provision build working directory PVCs- apiGroups: ["apps"]resources: ["deployments"]verbs: ["get", "list", "create", "patch", "delete"] #require this permission to run builds as pods