Merge "Tiller: Add pod/container security context"

This commit is contained in:
Zuul 2019-04-16 18:27:03 +00:00 committed by Gerrit Code Review
commit 62ec05958a
2 changed files with 9 additions and 0 deletions

View File

@ -62,6 +62,7 @@ spec:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
spec:
{{ dict "envAll" $envAll "application" "tiller" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
initContainers:
{{ tuple $envAll "tiller" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
containers:
@ -82,6 +83,7 @@ spec:
successThreshold: 1
timeoutSeconds: 1
name: tiller
{{ dict "envAll" $envAll "application" "tiller" "container" "tiller" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 8 }}
ports:
- containerPort: 44134
name: tiller

View File

@ -37,6 +37,13 @@ images:
- image_repo_sync
pod:
security_context:
tiller:
pod:
runAsUser: 65534
container:
tiller:
allowPrivilegeEscalation: false
resources:
enabled: false
jobs: