infra/k8s/operators/kube-prometheus/grafana-deployment-patch.yaml
2024-07-27 19:10:21 -07:00

19 lines
511 B
YAML

- op: add
path: /spec/template/spec/containers/0/envFrom
value:
- secretRef:
name: grafana-secrets
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
mountPath: /grafana-dashboard-definitions/1
name: grafana-dashboards-custom
- op: add
path: /spec/template/spec/volumes/-
value:
name: grafana-dashboards-custom
configMap:
name: grafana-dashboards-custom
# - op: replace
# path: /spec/template/spec/automountServiceAccountToken
# value: true