diff --git a/monitoring/grafana-auth.patch.yaml b/monitoring/grafana-auth.patch.yaml new file mode 100644 index 0000000..445a370 --- /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 735c13e..b8c1c21 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