Skip to content

Latest commit

History

History
30 lines (25 loc) 路 1.24 KB

exporting-environment-variables-to-containers.md

File metadata and controls

30 lines (25 loc) 路 1.24 KB

Exporting Environment Variables to Containers

If you need to export custom environment variables to your containers.

Name Description Default
task_extra_env Environment variables to be added to Task container ''
web_extra_env Environment variables to be added to Web container ''
rsyslog_extra_env Environment variables to be added to Rsyslog container ''
ee_extra_env Environment variables to be added to EE container ''

鈿狅笍 The ee_extra_env will only take effect to the globally available Execution Environments. For custom ee, please customize the Pod spec.

Example configuration of environment variables

  spec:
    task_extra_env: |
      - name: MYCUSTOMVAR
        value: foo
    web_extra_env: |
      - name: MYCUSTOMVAR
        value: foo
    rsyslog_extra_env: |
      - name: MYCUSTOMVAR
        value: foo
    ee_extra_env: |
      - name: MYCUSTOMVAR
        value: foo