From cc3e6d36bae003856038bf2dc093e47f61d8f5cc Mon Sep 17 00:00:00 2001 From: daurnimator Date: Sun, 16 Aug 2020 15:47:10 +1000 Subject: [PATCH] monitoring: turn off useless grafana auth --- monitoring/grafana-auth.patch.yaml | 14 ++++++++++++++ monitoring/kustomization.yaml | 1 + 2 files changed, 15 insertions(+) create mode 100644 monitoring/grafana-auth.patch.yaml diff --git a/monitoring/grafana-auth.patch.yaml b/monitoring/grafana-auth.patch.yaml new file mode 100644 index 00000000..445a3709 --- /dev/null +++ b/monitoring/grafana-auth.patch.yaml @@ -0,0 +1,14 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: grafana +spec: + template: + spec: + containers: + - name: grafana + env: + - name: GF_AUTH_ANONYMOUS_ENABLED + value: "true" + - name: GF_AUTH_ANONYMOUS_ORG_ROLE + value: Editor diff --git a/monitoring/kustomization.yaml b/monitoring/kustomization.yaml index 735c13eb..b8c1c21e 100644 --- a/monitoring/kustomization.yaml +++ b/monitoring/kustomization.yaml @@ -11,6 +11,7 @@ resources: patches: - container-images.patch.yaml - cluster-wide.patch.yaml + - grafana-auth.patch.yaml - grafana-sidecar.patch.yaml - prometheus-additional-scrape-configs.patch.yaml - prometheus-persistent-volume.patch.yaml