Merge "Implement missing security context template for daemonjob-controller"
This commit is contained in:
commit
6afb3e19e9
@ -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
|
||||
|
@ -65,9 +65,8 @@ pod:
|
||||
runAsNonRoot: true
|
||||
container:
|
||||
controller:
|
||||
runAsUser: 34356
|
||||
runAsUser: 0
|
||||
readOnlyRootFilesystem: true
|
||||
|
||||
endpoints:
|
||||
cluster_domain_suffix: cluster.local
|
||||
local_image_registry:
|
||||
|
Loading…
Reference in New Issue
Block a user