EnvFrom
Appears in
.Values.workload.$name.podSpec.containers.$name
.Values.workload.$name.podSpec.initContainers.$name
envFrom
Define envFrom for the container
Key | workload.$name.podSpec.containers.$name.envFrom |
Type | list of map |
Required | ❌ |
Helm tpl | ❌ |
Default | [] |
Example
envFrom.secretRef
Define the secretRef
Key | workload.$name.podSpec.containers.$name.envFrom[].secretRef |
Type | map |
Required | ❌ |
Helm tpl | ❌ |
Default | {} |
Example
envFrom.secretRef.name
Define the secret name
Key | workload.$name.podSpec.containers.$name.envFrom[].secretRef.name |
Type | string |
Required | ✅ |
Helm tpl | ✅ |
Default | "" |
Example
envFrom.secretRef.expandObjectName
Whether to expand (adding the fullname as prefix) the secret name
Key | workload.$name.podSpec.containers.$name.envFrom[].secretRef.expandObjectName |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | true |
Example
envFrom.configMapRef
Define the configMapRef
Key | workload.$name.podSpec.containers.$name.envFrom[].configMapRef |
Type | map |
Required | ❌ |
Helm tpl | ❌ |
Default | {} |
Example
envFrom.configMapRef.name
Define the configmap name
Key | workload.$name.podSpec.containers.$name.envFrom[].configMapRef.name |
Type | string |
Required | ✅ |
Helm tpl | ✅ |
Default | "" |
Example
envFrom.configMapRef.expandObjectName
Whether to expand (adding the fullname as prefix) the configmap name
Key | workload.$name.podSpec.containers.$name.envFrom[].configMapRef.expandObjectName |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | true |
Example