Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Deletion Components
Import Process Delete
Commits
20f10891
Verified
Commit
20f10891
authored
Nov 23, 2021
by
Sebastian Schüpbach
Browse files
use distinct configmap for each newly deployed chart
parent
1135411d
Pipeline
#37750
passed with stages
in 5 minutes
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
helm-charts/templates/app-config.yaml
View file @
20f10891
apiVersion
:
v1
kind
:
ConfigMap
metadata
:
name
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment}}-config"
name
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment
}}-{{
.Values.sessionId
}}-config"
namespace
:
"
{{
.Values.k8sNamespace
}}"
data
:
CLIENT_ID
:
"
{{
.Values.clientId}}"
...
...
helm-charts/templates/app-config.yml
0 → 100644
View file @
20f10891
apiVersion
:
v1
kind
:
ConfigMap
metadata
:
name
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment}}-{{
.Values.sessionId
}}-config"
namespace
:
"
{{
.Values.k8sNamespace
}}"
data
:
CLIENT_ID
:
"
{{
.Values.clientId}}"
TOPIC_IN
:
"
{{
.Values.inputTopicName
}}"
TOPIC_OUT
:
"
{{
.Values.outputTopicName
}}"
POLL_TIMEOUT
:
"
{{
.Values.pollTimeout
}}"
helm-charts/templates/job.yml
View file @
20f10891
...
...
@@ -29,7 +29,7 @@ spec:
memory
:
"
{{
.Values.k8sLimitsMemory
}}"
envFrom
:
-
configMapRef
:
name
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment}}-config"
name
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment
}}-{{
.Values.sessionId
}}-config"
-
configMapRef
:
name
:
"
{{
.Values.kafkaConfigs
}}"
restartPolicy
:
Never
...
...
Write
Preview
Supports
Markdown
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