Skip to content

Commit

Permalink
[FLINK-35937] RBAC cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
timsn authored Feb 10, 2025
1 parent b7d6f9d commit 44dd679
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions helm/flink-kubernetes-operator/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ rules:
- apps
resources:
- deployments
- deployments/scale
- deployments/finalizers
- replicasets
verbs:
Expand All @@ -61,6 +60,14 @@ rules:
- update
- patch
- delete
- apiGroups:
- apps
resources:
- deployments/scale
verbs:
- get
- update
- patch
- apiGroups:
- extensions
resources:
Expand All @@ -82,7 +89,6 @@ rules:
- flinksessionjobs
- flinksessionjobs/finalizers
- flinkstatesnapshots
- flinkstatesnapshots/status
- flinkstatesnapshots/finalizers
verbs:
- get
Expand All @@ -97,6 +103,7 @@ rules:
resources:
- flinkdeployments/status
- flinksessionjobs/status
- flinkstatesnapshots/status
verbs:
- get
- update
Expand Down Expand Up @@ -248,7 +255,13 @@ rules:
resources:
- leases
verbs:
- "*"
- get
- list
- watch
- create
- update
- patch
- delete
{{- end }}
---
{{- if and .Values.rbac.operatorRole.create (not (has .Release.Namespace .Values.watchNamespaces)) }}
Expand Down

0 comments on commit 44dd679

Please sign in to comment.