EnvList
Appears in
Section titled “Appears in”.Values.workload.$name.podSpec.containers.$name.Values.workload.$name.podSpec.initContainers.$name
envList
Section titled “envList”Define env(s) for the container
| Key | workload.$name.podSpec.containers.$name.envList |
| Type | list of strings |
| Required | ❌ |
Helm tpl | ❌ |
| Default | [] |
Example
workload: workload-name: podSpec: containers: container-name: envList: []envList.name
Section titled “envList.name”Define the env name
| Key | workload.$name.podSpec.containers.$name.envList[].name |
| Type | string |
| Required | ✅ |
Helm tpl | ❌ |
| Default | "" |
Example
workload: workload-name: podSpec: containers: container-name: envList: - name: ENV_NAMEenvList.value
Section titled “envList.value”Define the env value
| Key | workload.$name.podSpec.containers.$name.envList[].value |
| Type | string |
| Required | ❌ |
Helm tpl | ✅ |
| Default | "" |
Example
workload: workload-name: podSpec: containers: container-name: envList: - name: ENV_NAME value: ENV_VALUEFull Examples
Section titled “Full Examples”workload: workload-name: enabled: true primary: true podSpec: containers: container-name: enabled: true primary: true envList: - name: ENV_NAME1 value: ENV_VALUE - name: ENV_NAME2 value: "{{ .Values.some.path }}" - name: ENV_NAME3 value: ""