Skip to content
Snippets Groups Projects
Unverified Commit ed6f8df7 authored by Mohamed Omar Zaian's avatar Mohamed Omar Zaian Committed by GitHub
Browse files

[feature] Update CoreDNS manifests (#9977)

parent 43216436
No related branches found
No related tags found
No related merge requests found
...@@ -7,26 +7,26 @@ metadata: ...@@ -7,26 +7,26 @@ metadata:
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
name: system:coredns name: system:coredns
rules: rules:
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- endpoints - endpoints
- services - services
- pods - pods
- namespaces - namespaces
verbs: verbs:
- list - list
- watch - watch
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- nodes - nodes
verbs: verbs:
- get - get
- apiGroups: - apiGroups:
- discovery.k8s.io - discovery.k8s.io
resources: resources:
- endpointslices - endpointslices
verbs: verbs:
- list - list
- watch - watch
...@@ -22,9 +22,11 @@ spec: ...@@ -22,9 +22,11 @@ spec:
labels: labels:
k8s-app: kube-dns{{ coredns_ordinal_suffix }} k8s-app: kube-dns{{ coredns_ordinal_suffix }}
annotations: annotations:
seccomp.security.alpha.kubernetes.io/pod: 'runtime/default'
createdby: 'kubespray' createdby: 'kubespray'
spec: spec:
securityContext:
seccompProfile:
type: RuntimeDefault
nodeSelector: nodeSelector:
{{ coredns_deployment_nodeselector }} {{ coredns_deployment_nodeselector }}
priorityClassName: system-cluster-critical priorityClassName: system-cluster-critical
......
...@@ -5,4 +5,5 @@ metadata: ...@@ -5,4 +5,5 @@ metadata:
name: coredns name: coredns
namespace: kube-system namespace: kube-system
labels: labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment