mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
admin credentials are needed by the sidecards in order to update datasources and dashboards Signed-off-by: Vegard Hagen <[email protected]>
24 lines
615 B
YAML
24 lines
615 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: kube-prometheus-stack-grafana
|
|
namespace: monitoring
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: grafana-sc-dashboard
|
|
env:
|
|
- name: REQ_USERNAME
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: username
|
|
name: grafana-admin-credentials
|
|
$patch: replace
|
|
- name: REQ_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: password
|
|
name: grafana-admin-credentials
|
|
$patch: replace
|