]> piware.de Git - learn-metrics.git/commitdiff
Grafana: Enable anonymous access
authorMartin Pitt <martin@piware.de>
Wed, 16 Jun 2021 05:05:50 +0000 (07:05 +0200)
committerMartin Pitt <martin@piware.de>
Wed, 16 Jun 2021 05:05:50 +0000 (07:05 +0200)
conf-grafana/grafana.ini [new file with mode: 0644]
learn-metrics.yaml

diff --git a/conf-grafana/grafana.ini b/conf-grafana/grafana.ini
new file mode 100644 (file)
index 0000000..256888f
--- /dev/null
@@ -0,0 +1,3 @@
+[auth.anonymous]
+# enable anonymous access
+enabled = true
index bc1d913ca1197e6f59a7bd5843117be0d4fb5bce..38cc24e09b1bf03e46695ec7962a613c55d0698e 100644 (file)
@@ -16,6 +16,9 @@ spec:
       hostPort: 3000
       protocol: TCP
     volumeMounts:
       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
     - 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
       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
   - hostPath:
       path: ./conf-prometheus
     name: prometheus-config