Replace label k8s-app: nodelocaldns in DaemonSet template by k8s-app: node-local-dns (#9745)

This commit is contained in:
stelucz
2023-02-03 00:42:28 +01:00
committed by GitHub
parent e8f048c71d
commit 9247137e60
2 changed files with 4 additions and 4 deletions

View File

@@ -9,11 +9,11 @@ metadata:
spec: spec:
selector: selector:
matchLabels: matchLabels:
k8s-app: nodelocaldns k8s-app: node-local-dns
template: template:
metadata: metadata:
labels: labels:
k8s-app: nodelocaldns k8s-app: node-local-dns
annotations: annotations:
prometheus.io/scrape: 'true' prometheus.io/scrape: 'true'
prometheus.io/port: '{{ nodelocaldns_prometheus_port }}' prometheus.io/port: '{{ nodelocaldns_prometheus_port }}'

View File

@@ -9,11 +9,11 @@ metadata:
spec: spec:
selector: selector:
matchLabels: matchLabels:
k8s-app: nodelocaldns-second k8s-app: node-local-dns-second
template: template:
metadata: metadata:
labels: labels:
k8s-app: nodelocaldns-second k8s-app: node-local-dns-second
annotations: annotations:
prometheus.io/scrape: 'true' prometheus.io/scrape: 'true'
prometheus.io/port: '{{ nodelocaldns_secondary_prometheus_port }}' prometheus.io/port: '{{ nodelocaldns_secondary_prometheus_port }}'