Commit 37ce3630 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add labels to pod definition.

parent 583c216d
Pipeline #33461 passed with stages
in 3 minutes and 34 seconds
apiVersion: batch/v1
kind: Job
metadata:
name: "{{ .Values.k8sGroupId }}-{{ .Values.k8sGroupName }}-{{ .Values.recordSetId }}-{{ .Values.k8sEnvironment }}-{{ .Values.shortSessionId }}"
name: "{{ .Values.k8sGroupId }}-{{ .Values.k8sShortName }}-{{ .Values.recordSetId }}-{{ .Values.k8sEnvironment }}-{{ .Values.shortSessionId }}"
namespace: memobase
labels:
app: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}-app"
group: "{{ .Values.k8sGroupName }}"
app: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}"
group: "{{ .Values.k8sGroupId }}"
environment: "{{ .Values.k8sEnvironment }}"
spec:
template:
metadata:
labels:
app: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}"
environment: "{{.Values.k8sEnvironment }}"
group: "{{ .Values.k8sGroupId }}"
spec:
containers:
- name: "{{ .Values.k8sName }}-{{ .Values.sessionId }}"
......
......@@ -14,9 +14,10 @@ reportingTopicName: placeholder
reportingStepName: 01-text-file-validation
k8sName: text-file-validation
k8sShortName: tfv
k8sNamespace: memobase
k8sGroupId: di
k8sGroupName: tfv
k8sGroupName: documents-import
k8sRequestsCpu: 0.2
k8sRequestsMemory: 2G
k8sLimitsCpu: 0.5
......
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