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
1135411d
Verified
Commit
1135411d
authored
Nov 22, 2021
by
Sebastian Schüpbach
Browse files
use sessionId for building unique id
parent
14449988
Pipeline
#37739
passed with stages
in 4 minutes and 15 seconds
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
helm-charts/templates/job.yml
View file @
1135411d
apiVersion
:
batch/v1
apiVersion
:
batch/v1
kind
:
Job
kind
:
Job
metadata
:
metadata
:
name
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment}}"
name
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment
}}-{{
.Values.sessionId
}}"
namespace
:
"
{{
.Values.k8sNamespace
}}"
namespace
:
"
{{
.Values.k8sNamespace
}}"
labels
:
labels
:
app
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment}}-app"
app
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment
}}-{{
.Values.sessionId
}}-app"
spec
:
spec
:
template
:
template
:
metadata
:
metadata
:
...
@@ -14,7 +14,7 @@ spec:
...
@@ -14,7 +14,7 @@ spec:
environment
:
"
{{
.Values.k8sEnvironment
}}"
environment
:
"
{{
.Values.k8sEnvironment
}}"
spec
:
spec
:
containers
:
containers
:
-
name
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment}}-container"
-
name
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment
}}-{{
.Values.sessionId
}}-container"
image
:
"
{{
.Values.registry
}}/{{
.Values.image
}}:{{
.Values.tag
}}"
image
:
"
{{
.Values.registry
}}/{{
.Values.image
}}:{{
.Values.tag
}}"
imagePullPolicy
:
Always
imagePullPolicy
:
Always
args
:
{{
range splitList " " .Values.jobArgs -
}}
args
:
{{
range splitList " " .Values.jobArgs -
}}
...
...
helm-charts/values.yaml
View file @
1135411d
...
@@ -13,6 +13,7 @@ k8sLimitsCpu: placeholder
...
@@ -13,6 +13,7 @@ k8sLimitsCpu: placeholder
k8sLimitsMemory
:
placeholder
k8sLimitsMemory
:
placeholder
jobArgs
:
placeholder
# Filled dynamically by Import API
jobArgs
:
placeholder
# Filled dynamically by Import API
sessionId
:
placeholder
# Filled dynamically by Import API
kafkaConfigs
:
placeholder
kafkaConfigs
:
placeholder
inputTopicName
:
placeholder
inputTopicName
:
placeholder
...
...
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