OS
OpenSpec HUB

SecretEnvSource

SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.

Resource Structure

Interactive Tree
namestring
Name 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
optionalboolean
Specify whether the Secret must be defined
OpenSpec HUB
Source: core.api.k8s.io/SecretEnvSource_v1.json