Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions pkg/manifests/assets/dns/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ spec:
spec:
serviceAccountName: dns
priorityClassName: system-node-critical
hostUsers: false
securityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
seccompProfile:
type: RuntimeDefault
containers:
- name: dns
# image is set at runtime
Expand Down Expand Up @@ -56,6 +63,10 @@ spec:
memory: 70Mi
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
- name: kube-rbac-proxy
# image is set at runtime
args:
Expand Down