This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev-2.1.5
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git
The following commit(s) were added to refs/heads/dev-2.1.5 by this push:
new 29abfa385 fix: Enhance k8s permissions. (#3966)
29abfa385 is described below
commit 29abfa38599e67e26af02d49a65992cd7e2f318d
Author: Darcy <[email protected]>
AuthorDate: Fri Aug 16 23:34:45 2024 +0800
fix: Enhance k8s permissions. (#3966)
---
helm/streampark/templates/rbac.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/helm/streampark/templates/rbac.yaml
b/helm/streampark/templates/rbac.yaml
index 741929429..474425d74 100644
--- a/helm/streampark/templates/rbac.yaml
+++ b/helm/streampark/templates/rbac.yaml
@@ -21,7 +21,7 @@ RBAC rules used to create the operator (cluster)role based on
the scope
{{- define "streampark.rbacRules" }}
rules:
- apiGroups:
- - ""
+ - "*"
resources:
- pods
- services
@@ -31,6 +31,10 @@ rules:
- configmaps
- secrets
- nodes
+ - deployments
+ - ingresses
+ - replicasets
+ - pods/log
verbs:
- "*"
{{- end }}