environmentVariables property defines the Environment-level Environment Variables which will be injected in containers.
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.
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.
Updated 7 months ago