This commit is contained in:
Joseph Hanson 2024-04-01 11:05:37 -05:00
parent 3b3f558029
commit 074c93ab24
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 2 additions and 13 deletions

View file

@ -20,8 +20,8 @@ spec:
GF_SERVER_ROOT_URL: https://grafana.hsn.dev
GF_DATABASE_NAME: ${DB_NAME}
GF_DATABASE_HOST: "grafana-primary.observability.svc:5432"
# GF_DATABASE_USER: "{{ .grafana_postgres_user }}"
# GF_DATABASE_PASSWORD: "{{ .grafana_postgres_password }}"
GF_DATABASE_USER: "{{ .grafana_postgres_user }}"
GF_DATABASE_PASSWORD: "{{ .grafana_postgres_password }}"
GF_DATABASE_SSL_MODE: "require"
GF_DATABASE_TYPE: postgres
GF_ANALYTICS_CHECK_FOR_UPDATES: "false"

View file

@ -31,17 +31,6 @@ spec:
values:
replicas: 2
envFromSecret: grafana-secret
env:
- name: GF_DATABASE_USER
valueFrom:
secretKeyRef:
name: grafana-pguser-grafana
key: user
- name: GF_DATABASE_PASSWORD
valueFrom:
secretKeyRef:
name: grafana-pguser-grafana
key: password
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1