This more closely resembles what one would do on Kubernetes with a
`ConfigMap`.
env:
- name: GF_SECURITY_ADMIN_PASSWORD
value: foobar
+ - name: GF_PATHS_CONFIG
+ value: /grafana-config/grafana.ini
ports:
- containerPort: 3000
hostPort: 3000
protocol: TCP
volumeMounts:
- name: grafana-config
- mountPath: /opt/bitnami/grafana/conf/grafana.ini
+ mountPath: /grafana-config
readOnly: true
- name: grafana-datasource
mountPath: /etc/grafana/provisioning/datasources/datasource.yaml
type: File
name: grafana-datasource
- hostPath:
- path: ./conf-grafana/grafana.ini
- type: File
+ path: ./conf-grafana
name: grafana-config
- hostPath:
path: ./conf-prometheus