python/kubernetes/docs/V1EnvVar.md
2022-01-04 09:43:09 -08:00

1.1 KiB

V1EnvVar

EnvVar represents an environment variable present in a Container.

Properties

Name Type Description Notes
name str Name of the environment variable. Must be a C_IDENTIFIER.
value str Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". [optional]
value_from V1EnvVarSource [optional]

[Back to Model list] [Back to API list] [Back to README]