This commit is contained in:
Joseph Hanson 2024-03-01 12:43:56 -06:00
parent 55eab4e456
commit fae9185280

View file

@ -30,3 +30,25 @@ spec:
namespace: observability
values:
replicas: 2
env:
GF_DATE_FORMATS_USE_BROWSER_LOCALE: true
GF_SERVER_ROOT_URL: https://grafana.hsn.dev
GF_DATABASE_NAME: ${DB_NAME}
GF_DATABASE_HOST:
valueFrom:
secretKeyRef:
name: "${APP}-pguser-${DB_USER}"
key: host
GF_DATABASE_USER:
valueFrom:
secretKeyRef:
name: "${APP}-pguser-${DB_USER}"
key: user
GF_DATABASE_PASSWORD:
valueFrom:
secretKeyRef:
name: "${APP}-pguser-${DB_USER}"
key: password
GF_DATABASE_SSL_MODE: disable
GF_DATABASE_TYPE: postgres
envFromSecret: grafana-secret