The Unified and Autonomous Development Platform
fix: K8s deployment: namespace resource watch error in CI/CD job (OD-2389)
Robin Shen8c512bc2c268
diff --git a/server-product/helm/templates/clusterrole.yaml b/server-product/helm/templates/clusterrole.yamlindex c6d988d490..0e9ecdaa5d 100644--- a/server-product/helm/templates/clusterrole.yaml+++ b/server-product/helm/templates/clusterrole.yaml@@ -7,7 +7,7 @@ metadata:rules:- apiGroups: [""]resources: ["namespaces"]- verbs: ["get", "list", "create", "delete"] #require this permission to run builds in isolated namespaces+ verbs: ["get", "list", "watch", "create", "delete"] #require this permission to run builds in isolated namespaces- apiGroups: ["rbac.authorization.k8s.io"]resources: ["clusterrolebindings"]verbs: ["get", "list", "create", "delete"] #require this permission to bind cluster roles to service account of running builds