Commit f0cc905f authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Update deployment scripts & add stuff for autodeploy

parent 298da4dc
Pipeline #15824 passed with stages
in 7 minutes and 46 seconds
registry: "cr.gitlab.switch.ch"
image: "memoriav/memobase-2020/services/import-process/mapper-service"
tag: "latest"
kafkaConfigs: prod-kafka-bootstrap-servers
deploymentName: mapper-service
applicationId: mapper-service-app
inputTopicName: import-process-mapper
outputTopicName: import-process-media-linker
reportingTopicName: import-process-reporting
\ No newline at end of file
......@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Values.deploymentName }}
name: "{{ .Values.deploymentName }}-deployment"
namespace: memobase
labels:
jobType: "import-process-deployment"
......
############################################
## Values in this section are the same for #
## all jobs #
############################################
#image values
registry: "cr.gitlab.switch.ch"
image: "memoriav/memobase-2020/services/import-process/mapper-service"
tag: "latest"
kafkaConfigs: prod-kafka-bootstrap-servers
deploymentName: mapper-service
## TODO: This needs to be solved differently. This way it is not possible to deploy a replica-set.
## somehow the id needs to be dependent on the pod name?
applicationId: mapper-service-app
kafkaConfigs: prod-kafka-bootstrap-servers
# configMapName holds the name of the config with the mappings for the service.
configMapName: mapper-service-mapping-config
isPublished: false
#the filename of the mapping
configFileName: mapping.yml
inputTopicName: import-process-mapper
outputTopicName: import-process-media-linker
reportingTopicName: import-process-reporting
\ No newline at end of file
app:
isPublished: ${IS_PUBLISHED:?user}
kafka:
streams:
bootstrap.servers: ${KAFKA_BOOTSTRAP_SERVERS:?system}
......
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