From dea5ea4a1fc6b88f76ed6482cdbdb4b20d977fe7 Mon Sep 17 00:00:00 2001 From: Sergej Herbert <18115758+fr-ser@users.noreply.github.com> Date: Tue, 23 Jul 2019 08:22:53 +0200 Subject: [PATCH] [stable/grafana] Bugfix secrets for sidecar role (#15750) * [stable/grafana] Bugfix secrets for sidecar role Give the secrets authorization also to the role and not only the clusterrole Signed-off-by: Sergej Herbert * [stable/grafana] Bugfix secrets sidecar version Version bump Signed-off-by: Sergej Herbert --- stable/grafana/Chart.yaml | 2 +- stable/grafana/templates/role.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/grafana/Chart.yaml b/stable/grafana/Chart.yaml index 2f56476172..e40fd3e7fa 100755 --- a/stable/grafana/Chart.yaml +++ b/stable/grafana/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: grafana -version: 3.7.1 +version: 3.7.2 appVersion: 6.2.5 kubeVersion: "^1.8.0-0" description: The leading tool for querying and visualizing time series and metrics. diff --git a/stable/grafana/templates/role.yaml b/stable/grafana/templates/role.yaml index 9b31de2305..c8a6f9466f 100644 --- a/stable/grafana/templates/role.yaml +++ b/stable/grafana/templates/role.yaml @@ -23,7 +23,7 @@ rules: {{- end }} {{- if and .Values.rbac.namespaced (or .Values.sidecar.dashboards.enabled .Values.sidecar.datasources.enabled) }} - apiGroups: [""] # "" indicates the core API group - resources: ["configmaps"] + resources: ["configmaps", "secrets"] verbs: ["get", "watch", "list"] {{- end }} {{- else }}