Pull from crunchy secret.
This commit is contained in:
parent
640333dec7
commit
3b3f558029
2 changed files with 13 additions and 2 deletions
|
@ -20,8 +20,8 @@ spec:
|
||||||
GF_SERVER_ROOT_URL: https://grafana.hsn.dev
|
GF_SERVER_ROOT_URL: https://grafana.hsn.dev
|
||||||
GF_DATABASE_NAME: ${DB_NAME}
|
GF_DATABASE_NAME: ${DB_NAME}
|
||||||
GF_DATABASE_HOST: "grafana-primary.observability.svc:5432"
|
GF_DATABASE_HOST: "grafana-primary.observability.svc:5432"
|
||||||
GF_DATABASE_USER: "{{ .grafana_postgres_user }}"
|
# GF_DATABASE_USER: "{{ .grafana_postgres_user }}"
|
||||||
GF_DATABASE_PASSWORD: "{{ .grafana_postgres_password }}"
|
# GF_DATABASE_PASSWORD: "{{ .grafana_postgres_password }}"
|
||||||
GF_DATABASE_SSL_MODE: "require"
|
GF_DATABASE_SSL_MODE: "require"
|
||||||
GF_DATABASE_TYPE: postgres
|
GF_DATABASE_TYPE: postgres
|
||||||
GF_ANALYTICS_CHECK_FOR_UPDATES: "false"
|
GF_ANALYTICS_CHECK_FOR_UPDATES: "false"
|
||||||
|
|
|
@ -31,6 +31,17 @@ spec:
|
||||||
values:
|
values:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
envFromSecret: grafana-secret
|
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:
|
||||||
dashboardproviders.yaml:
|
dashboardproviders.yaml:
|
||||||
apiVersion: 1
|
apiVersion: 1
|
||||||
|
|
Loading…
Reference in a new issue