From 68798405a6b319fa8e7a2745c9370ce9cd7f4eef Mon Sep 17 00:00:00 2001 From: Fabian-Patrice Schmitt Date: Mon, 1 Sep 2025 12:35:41 +0200 Subject: [PATCH] feat(helm): add extraEnvs to helm values --- .github/semantic.yml | 1 + deploy/stackit/templates/deployment.yaml | 6 ++++++ deploy/stackit/values.yaml | 9 +++++++++ 3 files changed, 16 insertions(+) diff --git a/.github/semantic.yml b/.github/semantic.yml index 5c6e87a..b0d5e0a 100644 --- a/.github/semantic.yml +++ b/.github/semantic.yml @@ -8,6 +8,7 @@ scopes: - cli - ci - deps + - helm types: - feat diff --git a/deploy/stackit/templates/deployment.yaml b/deploy/stackit/templates/deployment.yaml index 2634610..925e216 100644 --- a/deploy/stackit/templates/deployment.yaml +++ b/deploy/stackit/templates/deployment.yaml @@ -36,6 +36,12 @@ spec: - name: STACKIT_SERVICE_ACCOUNT_KEY_PATH value: "{{ .Values.stackitSaAuthentication.mountPath}}/{{ .Values.stackitSaAuthentication.fileName}}" {{- end }} + {{- if .Values.extraEnv }} + {{- range .Values.extraEnv }} + - name: {{ .name }} + value: {{ .value | quote }} + {{- end }} + {{- end }} ports: - name: https containerPort: 8443 diff --git a/deploy/stackit/values.yaml b/deploy/stackit/values.yaml index ad0cfc1..760d84d 100644 --- a/deploy/stackit/values.yaml +++ b/deploy/stackit/values.yaml @@ -94,3 +94,12 @@ additionalVolumeMounts: [] # - name: extra-config # mountPath: /etc/extra-config # readOnly: true + +# -- Placeholder for additional env-variables. Apply via "--set"-command or +# -- delete the next line and add your variables as in the commented example below. +extraEnv: [] +# extraEnv: +# - name: HTTP_PROXY +# value: "127.0.0.1" +# - name: ANOTHER_VAR +# value: "some-value"