EOX GitLab Instance
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
View Server 2
harvester
Commits
778806d6
Commit
778806d6
authored
Jan 31, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
chart/templates/deployment.yaml
View file @
778806d6
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment