In order to mitigate against the brute force attacks against Gitlab accounts, we are moving to all edu-ID Logins. We would like to remind you to link your account with your edu-id. Login will be possible only by edu-ID after November 30, 2021. Here you can find the instructions for linking your account.

If you don't have a SWITCH edu-ID, you can create one with this guide here

kind regards

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