EOX GitLab Instance

Commit 778806d6 authored by Lubomir Doležal's avatar Lubomir Doležal
Browse files

allow overwrite deployment env vars by values

parent 5d4bf42e
Pipeline #21113 passed with stages
in 6 minutes and 25 seconds
...@@ -37,12 +37,12 @@ spec: ...@@ -37,12 +37,12 @@ spec:
args: args:
- /opt/harvester/run-harvester.sh - /opt/harvester/run-harvester.sh
env: env:
- name: REDIS_HOST
value: {{ .Release.Name }}-redis-master
{{- range $key, $value := .Values.global.env }} {{- range $key, $value := .Values.global.env }}
- name: {{ $key }} - name: {{ $key }}
value: {{ $value | quote }} value: {{ $value | quote }}
{{- end }} {{- end }}
- name: REDIS_HOST
value: {{ .Release.Name }}-redis-master
volumeMounts: volumeMounts:
- mountPath: /config.yaml - mountPath: /config.yaml
name: harvester-config name: harvester-config
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment