env property

List<EnvVar>? env
getter/setter pair

List of environment variables to set in the container.

EnvVar with duplicate names are generally allowed; if referencing a secret, the name must be unique for the container. For non-secret EnvVar names, the Container will only get the last-declared one.

Implementation

core.List<EnvVar>? env;