environmentVariables

The environmentVariables property defines the Environment-level Environment Variables which will be injected in containers.

The Environment Variables override the Project Variables and can be overridden by the Component Variables.

They will end up injected in all containers of Components from that environment.

🚧

For Helm and Kubernetes Manifest Components, the Environment Variables are injected in the runner which executes the workflow (eg deploy). If you need them to reach the containers of your applications / services, you will need to pass them on.

Β 

Example

The usage is trivial, key-value pairs need to be defined.

environmentVariables:
  MY_VAR: my_value

πŸ“˜

For more details on how Environment Variables work, please see the dedicated Variables section, where all relevant information is documented.