Merge "Tiller: Add pod/container security context"
This commit is contained in:
commit
62ec05958a
@ -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
|
||||
|
@ -37,6 +37,13 @@ images:
|
||||
- image_repo_sync
|
||||
|
||||
pod:
|
||||
security_context:
|
||||
tiller:
|
||||
pod:
|
||||
runAsUser: 65534
|
||||
container:
|
||||
tiller:
|
||||
allowPrivilegeEscalation: false
|
||||
resources:
|
||||
enabled: false
|
||||
jobs:
|
||||
|
Loading…
Reference in New Issue
Block a user