Merge "Implement missing security context template for daemonjob-controller"

This commit is contained in:
Zuul 2020-09-10 17:27:21 +00:00 committed by Gerrit Code Review
commit 6afb3e19e9
2 changed files with 2 additions and 2 deletions

View File

@ -47,6 +47,7 @@ spec:
- name: controller
{{ tuple $envAll "python" | include "helm-toolkit.snippets.image" | indent 8 }}
{{ tuple $envAll $envAll.Values.pod.resources.daemonjob_controller | include "helm-toolkit.snippets.kubernetes_resources" | indent 8 }}
{{ dict "envAll" $envAll "application" "daemonjob_controller" "container" "controller" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 8 }}
command:
- python
- /hooks/sync.py

View File

@ -65,9 +65,8 @@ pod:
runAsNonRoot: true
container:
controller:
runAsUser: 34356
runAsUser: 0
readOnlyRootFilesystem: true
endpoints:
cluster_domain_suffix: cluster.local
local_image_registry: