Containers / Init Containers
Appears in
.Values.workload.$name.podSpec.containers.$name
.Values.workload.$name.podSpec.initContainers.$name
Notes
Every option under workload.$name.podSpec.containers.$name
is also
available under workload.$name.podSpec.initContainers.$name
.
Unless otherwise noted.
enabled
Define if the container is enabled or not
Key | workload.$name.podSpec.containers.$name.enabled |
Type | bool |
Required | ✅ |
Helm tpl | ✅ |
Default | false |
Example
type
Define the type of container
Key | workload.$name.podSpec.initContainers.$name.type |
Type | string |
Required | ✅ |
Helm tpl | ✅ |
Default | init |
Valid Values:
init
(Runs before the containers is started.)install
(Runs before the containers is started and only on install.)upgrade
(Runs before the containers is started and only on upgrade.)
Example
imageSelector
Define the image map
to use
Key | workload.$name.podSpec.containers.$name.imageSelector |
Type | string |
Required | ✅ |
Helm tpl | ✅ |
Default | image |
Example
primary
Define if the container is primary or not
Key | workload.$name.podSpec.containers.$name.primary |
Type | bool |
Required | ✅ |
Helm tpl | ❌ |
Default | false |
Example
stdin
Define if the container should have stdin enabled or not
Key | workload.$name.podSpec.containers.$name.stdin |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | false |
Example
tty
Define if the container should have tty enabled or not
Key | workload.$name.podSpec.containers.$name.tty |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | false |
Example
command
See command
args
See args
extraArgs
See extraArgs
termination
See termination
lifecycle
See lifecycle
probes
See probes
resources
See resources
securityContext
See securityContext
envFrom
See envFrom
fixedEnv
See fixedEnv
env
See env
envList
See envList