EnvList
- Examples under each key are only to be used as a placement guide
- See the Full Examples section for complete examples.
Variable names will be scanned for duplicates across all secrets, configmaps, env, envList and fixedEnv and will throw an error if it finds any.
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
- This should not be used unless you have instructions from the maintainer to do so.
- For native helm charts, use env instead.
| 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: ""