Merge "Run apiserver-webhook containers with the 'nobody' user"
This commit is contained in:
commit
b417f422e9
charts/apiserver-webhook
@ -120,6 +120,7 @@ spec:
|
||||
affinity:
|
||||
{{ tuple $envAll "kubernetes-keystone-webhook" "api" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
|
||||
dnsPolicy: ClusterFirst
|
||||
{{ dict "envAll" $envAll "application" "apiserver_webhook" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
||||
containers:
|
||||
- name: apiserver
|
||||
image: {{ .Values.images.tags.apiserver }}
|
||||
|
@ -253,6 +253,10 @@ pod:
|
||||
kubernetes_keystone_webhook_tests:
|
||||
init_container: null
|
||||
kubernetes_keystone_webhook_tests: null
|
||||
security_context:
|
||||
apiserver_webhook:
|
||||
pod:
|
||||
runAsUser: 65534
|
||||
conf:
|
||||
paths:
|
||||
base: '/etc/webhook_apiserver/'
|
||||
|
Loading…
x
Reference in New Issue
Block a user