Fix Grafana ConfigMap labels lost in configMapGenerator migration
The hand-written configmap.yaml had app.kubernetes.io/name and app.kubernetes.io/instance labels; configMapGenerator dropped them. Add options.labels to both generator entries to restore parity. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9b44a8ec51
commit
61ee6a4d38
1 changed files with 8 additions and 0 deletions
|
|
@ -23,6 +23,14 @@ configMapGenerator:
|
|||
files:
|
||||
- grafana.ini
|
||||
- datasources.yaml
|
||||
options:
|
||||
labels:
|
||||
app.kubernetes.io/name: grafana
|
||||
app.kubernetes.io/instance: grafana
|
||||
- name: grafana-config-dashboards
|
||||
files:
|
||||
- provider.yaml
|
||||
options:
|
||||
labels:
|
||||
app.kubernetes.io/name: grafana
|
||||
app.kubernetes.io/instance: grafana
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue