@ -23,6 +23,7 @@ spec:
k8s-app: kube-dns{{ coredns_ordinal_suffix }}
annotations:
createdby: 'kubespray'
checksum/config: "{{ lookup('template', 'coredns-config.yml.j2') | checksum }}"
spec:
securityContext:
seccompProfile:
@ -17,6 +17,7 @@ spec:
prometheus.io/scrape: 'true'
prometheus.io/port: '{{ nodelocaldns_prometheus_port }}'
checksum/config: "{{ lookup('template', 'nodelocaldns-config.yml.j2') | checksum }}"
nodeSelector:
{{ nodelocaldns_ds_nodeselector }}
prometheus.io/port: '{{ nodelocaldns_secondary_prometheus_port }}'