Commit 583c216d authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Update chart

parent 69eda49f
Pipeline #31568 passed with stages
in 4 minutes and 17 seconds
......@@ -5,8 +5,6 @@ type: application
version: 0.0.0
appVersion: 0.0.0
maintainers:
- name: Jonas Waeber
email: jonas.waeber@unibas.ch
\ No newline at end of file
......@@ -4,7 +4,7 @@ metadata:
name: "{{ .Values.shortSessionId }}-config"
namespace: memobase
data:
ENVIRONMENT: "{{ .Values.env }}"
ENVIRONMENT: "{{ .Values.k8sEnvironment }}"
SESSION_ID: "{{ .Values.sessionId }}"
RECORD_SET_ID: "{{ .Values.recordSetId }}"
INSTITUTION_ID: "{{ .Values.institutionId }}"
......
apiVersion: batch/v1
kind: Job
metadata:
name: "di-tfv-{{ .Values.recordSetId }}-prod-{{ .Values.shortSessionId }}"
name: "{{ .Values.k8sGroupId }}-{{ .Values.k8sGroupName }}-{{ .Values.recordSetId }}-{{ .Values.k8sEnvironment }}-{{ .Values.shortSessionId }}"
namespace: memobase
labels:
institutionId: "{{ .Values.institutionId }}"
recordSetId: "{{ .Values.recordSetId }}"
jobType: "text-file-validation"
app: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment }}-app"
group: "{{ .Values.k8sGroupName }}"
environment: "{{ .Values.k8sEnvironment }}"
spec:
template:
spec:
containers:
- name: "text-file-validation-{{ .Values.sessionId }}"
- name: "{{ .Values.k8sName }}-{{ .Values.sessionId }}"
image: "{{ .Values.registry }}/{{ .Values.image }}:{{ .Values.tag }}"
resources:
requests:
cpu: "0.2"
memory: "2G"
cpu: {{ .Values.k8sRequestsCpu }}
memory: {{ .Values.k8sRequestsMemory }}
limits:
cpu: "0.5"
memory: "4G"
cpu: {{ .Values.k8sLimitsCpu }}
memory: {{ .Values.k8sLimitsMemory }}
envFrom:
- secretRef:
name: "{{ .Values.sftpConfigs }}"
......
......@@ -11,9 +11,20 @@ kafkaConfigs: placeholder
sftpConfigs: placeholder
topicName: placeholder
reportingTopicName: placeholder
reportingStepName: 01-text-file-validation
k8sName: text-file-validation
k8sNamespace: memobase
k8sGroupId: di
k8sGroupName: tfv
k8sRequestsCpu: 0.2
k8sRequestsMemory: 2G
k8sLimitsCpu: 0.5
k8sLimitsMemory: 4G
k8sEnvironment: placeholder
###
# API Configs (Mandatory!)
# Headers
###
sessionId: placeholder
shortSessionId: placeholder
......@@ -23,12 +34,6 @@ isPublished: false
drupalJobUuid: placeholder
drupalJobLogResultUuid: placeholder
reportingStepName: 01-text-file-validation
env: placeholder
# Step 2
# xml-data-transform
xmlRecordTag: record
xmlIdentifierFieldName: identifierMain
......
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