Skip to content

Commit

Permalink
Run kube-apiserver as non-root user (nobody)
Browse files Browse the repository at this point in the history
  • Loading branch information
dghubble committed Jul 6, 2019
1 parent 3bfd125 commit 4caca47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/manifests/kube-apiserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ spec:
- name: ssl-certs-host
mountPath: /etc/ssl/certs
readOnly: true
securityContext:
runAsNonRoot: true
runAsUser: 65534
volumes:
- name: secrets
secret:
Expand Down

0 comments on commit 4caca47

Please sign in to comment.