Commit ef57b049 authored by Lionel Walter's avatar Lionel Walter
Browse files

Remove job id

parent 962a71c8
Pipeline #9775 passed with stages
in 4 minutes and 44 seconds
apiVersion: v1
kind: ConfigMap
metadata:
name: "{{ .Values.processId }}-{{ .Values.jobId }}-app-config"
name: "{{ .Values.processId }}-{{ .Values.jobName }}-app-config"
namespace: memobase
data:
JOB_ID: "{{ .Values.jobId }}"
APP_DIRECTORY: "{{ .Values.appDirectory }}"
CLIENT_ID: "{{ .Values.processId }}-{{ .Values.jobId }}-{{ .Values.jobName }}"
TOPIC_IN: "{{ .Values.processId }}-{{ .Values.jobId }}-{{ .Values.jobName }}"
CLIENT_ID: "{{ .Values.processId }}-{{ .Values.jobName }}"
TOPIC_IN: "{{ .Values.processId }}-{{ .Values.jobName }}"
TOPIC_PROCESS: "{{ .Values.processId }}-reporting"
\ No newline at end of file
apiVersion: batch/v1
kind: Job
metadata:
name: "{{ .Values.processId }}-{{ .Values.jobId }}-{{ .Values.jobName }}"
name: "{{ .Values.processId }}-{{ .Values.jobName }}"
namespace: memobase
labels:
institutionId: "{{ .Values.institutionId }}"
......@@ -11,7 +11,7 @@ spec:
template:
spec:
containers:
- name: "{{ .Values.processId }}-{{ .Values.jobId }}-{{ .Values.jobName }}"
- name: "{{ .Values.processId }}-{{ .Values.jobName }}"
image: "{{ .Values.registry }}/{{ .Values.image }}:{{ .Values.tag }}"
envFrom:
- secretRef:
......@@ -19,6 +19,6 @@ spec:
- configMapRef:
name: "{{ .Values.kafkaConfigs }}"
- configMapRef:
name: "{{ .Values.processId }}-{{ .Values.jobId }}-app-config"
name: "{{ .Values.processId }}-{{ .Values.jobName }}-app-config"
restartPolicy: Never
backoffLimit: 0
\ No newline at end of file
......@@ -17,7 +17,6 @@ sftpConfigs: internal-sftp-config
############################################
jobName: text-file-validation
processId: p0001
jobId: j0001
institutionId: placeholder
recordSetId: placeholder
......
Markdown is supported
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