[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:
Razvan-Sebastian Botez
2023-05-11 16:04:34 +02:00
committed by GitHub
co-authored by Razvan Sebastian Botez
parent ec1fdfd9c3
commit bda54d04a3
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -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: