Commit dbf8adfd authored by Thomas Bernhart's avatar Thomas Bernhart
Browse files

Update helm-charts and values

parent faacad78
Pipeline #24796 passed with stages
in 4 minutes and 22 seconds
apiVersion: v2
name: fedora-ingest-service
description: A helm chart for the fedora-ingest-service service.
description: A helm chart for the fedora-ingest-service service
type: application
version: 0.0.0
appVersion: 0.0.0
maintainers:
- name: Thomas Bernhart
email: t.bernhart@docuteam.ch
\ No newline at end of file
email: t.bernhart@docuteam.ch
deploymentName: ip-ingest-service
clientId: fedora-ingest-service-app
deploymentName: di-fedora-indexer-prod
k8sName: fedora-indexer
k8sNamespace: memobase
k8sGroupId: di
k8sGroupName: documents-import
k8sEnvironment: prod
k8sReplicas: 1
k8sRequestsCpu: "0.2"
k8sRequestsMemory: "0.2Gi"
k8sLimitsCpu: "1"
k8sLimitsMemory: "1Gi"
kafkaConfigs: prod-kafka-bootstrap-servers
sftpConfigs: internal-sftp-config
fedoraConfigs: fedora-admin-credentials
isSimple: false
inputTopicName: import-process-ingest
inputTopicName: mb-di-ingest-prod
outputTopicName: void_topic
reportingTopicName: import-process-reporting
reportingTopicName: mb-di-reporting-prod
clientId: prod-di-fedora-indexer
\ No newline at end of file
deploymentName: dp-sync-ingest
clientId: fedora-drupal-sync-ingest-app
deploymentName: gi-fedora-indexer-prod
k8sName: fedora-indexer
k8sNamespace: memobase
k8sGroupId: gi
k8sGroupName: group-import
k8sEnvironment: prod
k8sReplicas: 1
k8sRequestsCpu: "0.2"
k8sRequestsMemory: "0.2Gi"
k8sLimitsCpu: "1"
k8sLimitsMemory: "1Gi"
kafkaConfigs: prod-kafka-bootstrap-servers
sftpConfigs: internal-sftp-config
fedoraConfigs: fedora-admin-credentials
isSimple: true
inputTopicName: drupal-sync-output
inputTopicName: mb-gi-rdf-objects-prod
outputTopicName: void_topic
reportingTopicName: import-process-reporting
reportingTopicName: mb-di-reporting-prod
clientId: prod-gi-fedora-indexer
apiVersion: v1
kind: ConfigMap
metadata:
name: "{{ .Values.deploymentName }}-config"
namespace: memobase
data:
CLIENT_ID: {{ .Values.clientId }}
IS_SIMPLE: "{{ .Values.isSimple }}"
TOPIC_IN: {{ .Values.inputTopicName }}
TOPIC_OUT: {{ .Values.outputTopicName }}
TOPIC_REPORTING: {{ .Values.reportingTopicName }}
name: "{{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment}}-config"
namespace: "{{ .Values.k8sNamespace }}"
data:
CLIENT_ID: {{ .Values.clientId }}
IS_SIMPLE: "{{ .Values.isSimple }}"
TOPIC_IN: {{ .Values.inputTopicName }}
TOPIC_OUT: {{ .Values.outputTopicName }}
TOPIC_REPORTING: {{ .Values.reportingTopicName }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Values.deploymentName }}-deployment
name: {{ .Values.deploymentName }}
namespace: memobase
labels:
jobType: "import-process-deployment"
app: {{ .Values.deploymentName }}-app
spec:
selector:
matchLabels:
app: {{ .Values.deploymentName }}
app: {{ .Values.deploymentName }}-app
replicas: 1
template:
metadata:
labels:
app: {{ .Values.deploymentName }}
tier: import-process
app: {{ .Values.deploymentName }}-app
tier: import-process #FIXME: web?
spec:
restartPolicy: Always
containers:
- name: "{{ .Values.deploymentName }}-container"
image: "{{ .Values.registry }}/{{ .Values.image }}:{{ .Values.tag }}"
imagePullPolicy: Always
resources:
requests:
cpu: "0.5"
memory: "128Mi"
limits:
cpu: "1"
memory: "1Gi"
envFrom:
- secretRef:
name: "{{ .Values.sftpConfigs }}"
- secretRef:
name: "{{ .Values.fedoraConfigs }}"
- configMapRef:
name: "{{ .Values.kafkaConfigs }}"
- configMapRef:
name: "{{ .Values.deploymentName }}-config"
- name: "{{ .Values.deploymentName }}-container"
image: "{{ .Values.registry }}/{{ .Values.image }}:{{ .Values.tag }}"
imagePullPolicy: Always
resources:
requests:
cpu: "0.5"
memory: "128Mi"
limits:
cpu: "1"
memory: "1Gi"
envFrom:
- secretRef:
name: "{{ .Values.sftpConfigs }}"
- secretRef:
name: "{{ .Values.fedoraConfigs }}"
- configMapRef:
name: "{{ .Values.kafkaConfigs }}"
- configMapRef:
name: "{{ .Values.deploymentName }}-config"
restartPolicy: Always
......@@ -3,14 +3,15 @@ registry: "cr.gitlab.switch.ch"
image: "memoriav/memobase-2020/services/import-process/fedora-ingest-service"
tag: "latest"
deploymentName: fedora-ingest-service
clientId: fedora-ingest-service-app
deploymentName: placeholder
kafkaConfigs: prod-kafka-bootstrap-servers
sftpConfigs: internal-sftp-config
fedoraConfigs: fedora-admin-credentials
isSimple: true
kafkaConfigs: placeholder
sftpConfigs: placeholder
fedoraConfigs: placeholder
isSimple: placeholder
inputTopicName: import-process-normalization
outputTopicName: void_topic
reportingTopicName: import-process-reporting
inputTopicName: placeholder
outputTopicName: placeholder
reportingTopicName: placeholder
clientId: placeholder
\ No newline at end of file
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