Skip to content

Commit e2d62a9

Browse files
fabian-schmittFabian-Patrice Schmitt
andauthored
feat(helm): add extraEnvs to helm values (#102)
Co-authored-by: Fabian-Patrice Schmitt <[email protected]>
1 parent 832287d commit e2d62a9

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.github/semantic.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ scopes:
88
- cli
99
- ci
1010
- deps
11+
- helm
1112

1213
types:
1314
- feat

deploy/stackit/templates/deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ spec:
3636
- name: STACKIT_SERVICE_ACCOUNT_KEY_PATH
3737
value: "{{ .Values.stackitSaAuthentication.mountPath}}/{{ .Values.stackitSaAuthentication.fileName}}"
3838
{{- end }}
39+
{{- if .Values.extraEnv }}
40+
{{- range .Values.extraEnv }}
41+
- name: {{ .name }}
42+
value: {{ .value | quote }}
43+
{{- end }}
44+
{{- end }}
3945
ports:
4046
- name: https
4147
containerPort: 8443

deploy/stackit/values.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,12 @@ additionalVolumeMounts: []
9494
# - name: extra-config
9595
# mountPath: /etc/extra-config
9696
# readOnly: true
97+
98+
# -- Placeholder for additional env-variables. Apply via "--set"-command or
99+
# -- delete the next line and add your variables as in the commented example below.
100+
extraEnv: []
101+
# extraEnv:
102+
# - name: HTTP_PROXY
103+
# value: "127.0.0.1"
104+
# - name: ANOTHER_VAR
105+
# value: "some-value"

0 commit comments

Comments
 (0)