mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/grafana-operator] List and watch verbs for namespaces (#16360)
Signed-off-by: Razvan-Sebastian Botez <razvan@botez.rocks> Signed-off-by: Razvan-Sebastian Botez <razvan.botez@gmail.com> Co-authored-by: Razvan Sebastian Botez <rbotez@adobe.com>
This commit is contained in:
co-authored by
Razvan Sebastian Botez
parent
ec1fdfd9c3
commit
bda54d04a3
@@ -22,4 +22,4 @@ maintainers:
|
||||
name: grafana-operator
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/grafana-operator
|
||||
version: 2.9.0
|
||||
version: 2.9.1
|
||||
|
||||
@@ -82,6 +82,15 @@ metadata:
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- if or .Values.operator.scanAllNamespaces .Values.operator.scanNamespaces }}
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- namespaces
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
{{- end }}
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
|
||||
Reference in New Issue
Block a user