Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion helm/flink-kubernetes-operator/templates/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ metadata:
{{- include "flink-operator.labels" $ | nindent 4 }}
{{- template "flink-operator.rbacRules" $ }}
{{- end }}
{{- /* Give operator the ability to operate on leases in the release namespace */ -}}
{{- /* Give operator the ability to operate on leases in the release namespace and check presence of FlinkStateSnapshot CRD */ -}}
{{- if not (has .Release.Namespace .Values.watchNamespaces) }}
---
apiVersion: rbac.authorization.k8s.io/v1
Expand All @@ -53,6 +53,12 @@ rules:
- update
- patch
- delete
- apiGroups:
- flink.apache.org
resources:
- flinkstatesnapshots
verbs:
- list
{{- end }}
{{- end }}
{{- end }}