Unverified Commit bca53ae1 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

deploy service twice

parent 73a65714
Pipeline #20206 passed with stages
in 4 minutes and 39 seconds
......@@ -5,6 +5,5 @@ metadata:
namespace: memobase
data:
APPLICATION_ID: "{{ .Values.deploymentName }}-deployment"
TOPIC_IN: "{{ .Values.inputTopic }}"
TOPIC_OUT: "{{ .Values.outputTopic }}"
TOPIC_PROCESS: "postprocessing-reporting-test"
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ .Values.deploymentName }}-deployment"
name: "{{ .Values.deploymentName }}-drupal-deployment"
namespace: memobase
labels:
app: "{{ .Values.deploymentName }}-deployment"
app: "{{ .Values.deploymentName }}-drupal-deployment"
spec:
selector:
matchLabels:
app: "{{ .Values.deploymentName }}-deployment"
app: "{{ .Values.deploymentName }}-drupal-deployment"
replicas: 1
template:
metadata:
labels:
app: "{{ .Values.deploymentName }}-deployment"
app: "{{ .Values.deploymentName }}-drupal-deployment"
tier: post-processing
spec:
containers:
- name: "{{ .Values.deploymentName }}-container"
- name: "{{ .Values.deploymentName }}-drupal-container"
image: "{{.Values.registry}}/{{ .Values.image }}:{{ .Values.tag }}"
imagePullPolicy: Always
envFrom:
......@@ -25,4 +25,7 @@ spec:
name: "{{ .Values.kafkaConfigs }}"
- configMapRef:
name: "{{ .Values.deploymentName}}-app-config"
env:
- name: TOPIC_IN
value: drupal-sync-output
restartPolicy: Always
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ .Values.deploymentName }}-records-deployment"
namespace: memobase
labels:
app: "{{ .Values.deploymentName }}-records-deployment"
spec:
selector:
matchLabels:
app: "{{ .Values.deploymentName }}-records-deployment"
replicas: 1
template:
metadata:
labels:
app: "{{ .Values.deploymentName }}-records-deployment"
tier: post-processing
spec:
containers:
- name: "{{ .Values.deploymentName }}-records-container"
image: "{{.Values.registry}}/{{ .Values.image }}:{{ .Values.tag }}"
imagePullPolicy: Always
envFrom:
- configMapRef:
name: "{{ .Values.kafkaConfigs }}"
- configMapRef:
name: "{{ .Values.deploymentName}}-app-config"
env:
- name: TOPIC_IN
value: import-process-ingest
restartPolicy: Always
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