Add env.
This commit is contained in:
parent
55eab4e456
commit
fae9185280
1 changed files with 22 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue