From: Martin Pitt Date: Wed, 16 Jun 2021 05:05:50 +0000 (+0200) Subject: Grafana: Enable anonymous access X-Git-Url: https://piware.de/gitweb/?p=learn-metrics.git;a=commitdiff_plain;h=17643f61d62047642cd8e5aef155497d056463d5;ds=inline Grafana: Enable anonymous access --- diff --git a/conf-grafana/grafana.ini b/conf-grafana/grafana.ini new file mode 100644 index 0000000..256888f --- /dev/null +++ b/conf-grafana/grafana.ini @@ -0,0 +1,3 @@ +[auth.anonymous] +# enable anonymous access +enabled = true diff --git a/learn-metrics.yaml b/learn-metrics.yaml index bc1d913..38cc24e 100644 --- a/learn-metrics.yaml +++ b/learn-metrics.yaml @@ -16,6 +16,9 @@ spec: hostPort: 3000 protocol: TCP volumeMounts: + - name: grafana-config + mountPath: /opt/bitnami/grafana/conf/grafana.ini + readOnly: true - name: grafana-datasource mountPath: /etc/grafana/provisioning/datasources/datasource.yaml readOnly: true @@ -43,6 +46,10 @@ spec: path: ./conf-grafana/datasource.yaml type: File name: grafana-datasource + - hostPath: + path: ./conf-grafana/grafana.ini + type: File + name: grafana-config - hostPath: path: ./conf-prometheus name: prometheus-config