netflux-kubernetes/deploy/prod/deploy-grafana.yaml

37 lines
819 B
YAML
Raw Normal View History

2022-05-09 03:34:36 +00:00
---
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: GF_DATABASE_TYPE
value: postgres
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: GF_DATABASE_HOST
value: prod-db
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: GF_DATABASE_PORT
value: "5432"
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: GF_DATABASE_USER
value: grafana
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: GF_DATABASE_PASSWORD
value: ${GRAFANA_POSTGRESQL_PASSWORD}
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: GF_DATABASE_NAME
value: grafana
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: GF_DATABASE_SSL_MODE
value: require