Update CoreDNS label as specified in the kubernetes coredns repository (#3920)

This commit is contained in:
Sidharth Anupkrishnan
2019-04-10 16:42:13 +05:30
committed by Kubernetes Prow Robot
parent 80f31818df
commit 6caa639243
2 changed files with 6 additions and 7 deletions

View File

@@ -5,17 +5,16 @@ metadata:
name: coredns{{ coredns_ordinal_suffix }}
namespace: kube-system
labels:
k8s-app: coredns{{ coredns_ordinal_suffix }}
k8s-app: kube-dns{{ coredns_ordinal_suffix }}
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "coredns{{ coredns_ordinal_suffix }}"
addonmanager.kubernetes.io/mode: Reconcile
annotations:
prometheus.io/path: /metrics
prometheus.io/port: "9153"
prometheus.io/scrape: "true"
spec:
selector:
k8s-app: coredns{{ coredns_ordinal_suffix }}
k8s-app: kube-dns{{ coredns_ordinal_suffix }}
clusterIP: {{ clusterIP }}
ports:
- name: dns