Skip to content

EnvList

Appears in

  • .Values.workload.$name.podSpec.containers.$name
  • .Values.workload.$name.podSpec.initContainers.$name

envList

Define env(s) for the container

Keyworkload.$name.podSpec.containers.$name.envList
Typelist of strings
Required
Helm tpl
Default[]

Example

workload:
workload-name:
podSpec:
containers:
container-name:
envList: []

envList.name

Define the env name

Keyworkload.$name.podSpec.containers.$name.envList[].name
Typestring
Required
Helm tpl
Default""

Example

workload:
workload-name:
podSpec:
containers:
container-name:
envList:
- name: ENV_NAME

envList.value

Define the env value

Keyworkload.$name.podSpec.containers.$name.envList[].value
Typestring
Required
Helm tpl
Default""

Example

workload:
workload-name:
podSpec:
containers:
container-name:
envList:
- name: ENV_NAME
value: ENV_VALUE

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: ""