Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

feat(deployment): allow add custom env values #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

acamilleri
Copy link

Hello

Allow environment values to be passed to the operator container from a list of values defined by the env setting, and/or values from an object (configmap or secrets) with the envFrom setting.

I keep the compatibility of already defined env values with a range to transform the key value from a camelCase to snakeCase and transform it to uppercase.

          {{- range $key, $value := $.Values.env }}
            - name: {{ $key | snakecase | upper }}
              value: "{{ $value }}"
          {{- end }}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant