Create existingSecret for grafana-creds

This commit is contained in:
Max Harley
2024-04-22 16:19:53 -04:00
parent ef54ea9c48
commit 21215a30eb
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -76,12 +76,12 @@ spec:
- name: GF_SECURITY_ADMIN_USER
valueFrom:
secretKeyRef:
name: grafana-creds
name: {{ .Values.grafana.existingSecret }}
key: username
- name: GF_SECURITY_ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: grafana-creds
name: {{ .Values.grafana.existingSecret }}
key: password
- name: GF_SERVER_ROOT_URL # used to serve through ingress-nginx
value: "%(protocol)s://%(domain)s:%(http_port)s/grafana/"
+1 -2
View File
@@ -54,8 +54,7 @@ fluentd:
memory: 200Mi
grafana:
username: nemesis
# password: ""
existingSecret: grafana-creds
prometheusUrl: http://prometheus-service.default.svc:9090
image:
repository: grafana/grafana