EnvFromSource

io.k8s.api.core.v1.EnvFromSource source ↗

EnvFromSource represents the source of a set of ConfigMaps or Secrets

configMapRefConfigMapEnvSourceThe ConfigMap to select from
namestringName of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optionalbooleanSpecify whether the ConfigMap must be defined
prefixstringOptional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='.
secretRefSecretEnvSourceThe Secret to select from
namestringName of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optionalbooleanSpecify whether the Secret must be defined