initContainers
InitContainers as dictionary items.
object
Keys are identifiers for initContainers instances.
initContainers: main: enabled: true # ... configuration
secondary: enabled: true # ... configurationInstance Properties
Section titled “Instance Properties”Available properties:
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
args | array / string | No | - | Arguments for the container entrypoint. |
command | array / string | No | - | Command for the container entrypoint. |
dependsOn | array / string | No | - | Specify container dependencies to determine render order. |
enabled | boolean | No | true | Set to false to disable the container. |
env | array / object | No | - | Environment variables for the container. Supports multipl… |
envFrom | array | No | - | Secrets and/or ConfigMaps to load as environment variable… |
image | object | No | - | Image configuration for the container. |
lifecycle | object | No | - | Lifecycle event hooks (postStart, preStop) for the contai… |
nameOverride | string | No | - | Override the container name. |
ports | array | No | - | Ports to expose from the container. |
probes | object | No | - | Probe settings for the container. See https://kubernetes… |
resizePolicy | array | No | - | Configure whether the container should be restarted when … |
resources | object | No | - | Resource requests and limits for the container. |
restartPolicy | string | No | - | Restart policy for the container. |
securityContext | object | No | - | Security context for the container. |
stdin | boolean | No | false | Keep the standard input open on the container. |
terminationMessagePath | string | No | - | Path at which the file to which the container’s termi… |
terminationMessagePolicy | string | No | - | How the container’s termination message should be pop… |
tty | boolean | No | false | Allocate a TTY for the container. |
workingDir | string | No | - | Working directory for the container. |
Property Details
Section titled “Property Details”Environment variables for the container. Supports multiple syntax styles: simple map (key: value), list of K8s v1.EnvVar entries, and valueFrom references (configMapKeyRef, secretKeyRef, fieldRef, resourceFieldRef). Helm templates can be used in values. See the Environment Variables howto for detailed patterns and examples.
envFrom
Section titled “envFrom”Secrets and/or ConfigMaps to load as environment variables in bulk. Each entry references either a ConfigMap (via configMap name or configMapRef.identifier) or a Secret (via secret name or secretRef.identifier), with optional prefix. See the Environment Variables howto for detailed patterns.
resizePolicy
Section titled “resizePolicy”Configure whether the container should be restarted when resizing. This allows fine-grained control based on resource type (CPU or memory).
terminationMessagePath
Section titled “terminationMessagePath”Path at which the file to which the container’s termination message will be written is mounted into the container’s filesystem. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle for details.
terminationMessagePolicy
Section titled “terminationMessagePolicy”How the container’s termination message should be populated. File will read the termination message from terminationMessagePath. FallbackToLogsOnError uses the last chunk of container log output if the termination message file is empty or the container errored. See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle for details.
Allowed values: File, FallbackToLogsOnError