Commit 711b58dd authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Adjust resources

Split import endpoint config.
parent dcd377a5
...@@ -2,7 +2,6 @@ deploymentName: gi-reports-consumer-prod ...@@ -2,7 +2,6 @@ deploymentName: gi-reports-consumer-prod
kafkaConfigs: prod-kafka-bootstrap-servers kafkaConfigs: prod-kafka-bootstrap-servers
inputTopic: mb-di-processed-reporting-prod inputTopic: mb-di-processed-reporting-prod
reportingTopic: mb-di-reports-reporting-prod reportingTopic: mb-di-reports-reporting-prod
importApiEndpoint: http://api-import-prod-service:5000/v1/drupal/WriteElementReport
whitelistFileConfig: prod-reports-consumer-step-whitelist whitelistFileConfig: prod-reports-consumer-step-whitelist
k8sEnvironment: prod k8sEnvironment: prod
...@@ -2,7 +2,6 @@ deploymentName: gi-reports-consumer-stage ...@@ -2,7 +2,6 @@ deploymentName: gi-reports-consumer-stage
kafkaConfigs: stage-kafka-bootstrap-servers kafkaConfigs: stage-kafka-bootstrap-servers
inputTopic: mb-di-processed-reporting-stage inputTopic: mb-di-processed-reporting-stage
reportingTopic: mb-di-reports-reporting-stage reportingTopic: mb-di-reports-reporting-stage
importApiEndpoint: http://api-import-stage-service:5000/v1/drupal/WriteElementReport
whitelistFileConfig: stage-reports-consumer-step-whitelist whitelistFileConfig: stage-reports-consumer-step-whitelist
k8sEnvironment: stage k8sEnvironment: stage
...@@ -2,7 +2,6 @@ deploymentName: gi-reports-consumer-test ...@@ -2,7 +2,6 @@ deploymentName: gi-reports-consumer-test
kafkaConfigs: test-kafka-bootstrap-servers kafkaConfigs: test-kafka-bootstrap-servers
inputTopic: mb-di-processed-reporting-prod inputTopic: mb-di-processed-reporting-prod
reportingTopic: mb-di-reports-reporting-prod reportingTopic: mb-di-reports-reporting-prod
importApiEndpoint: https://api-import-test-service:5000/v1/drupal/WriteElementReport
whitelistFileConfig: test-reports-consumer-step-whitelist whitelistFileConfig: test-reports-consumer-step-whitelist
k8sEnvironment: test k8sEnvironment: test
...@@ -4,7 +4,7 @@ metadata: ...@@ -4,7 +4,7 @@ metadata:
name: "{{ .Values.deploymentName }}-app-config" name: "{{ .Values.deploymentName }}-app-config"
namespace: memobase namespace: memobase
data: data:
API_ENDPOINT_URL: "{{ .Values.importApiEndpoint }}" API_ENDPOINT_URL: "http://{{ .Values.importApiName }}-{{ .Values.k8sEnvironment}}-service:{{ .Values.importApiPort}}{{ .Values.importApiPath }}"
STEP_WHITE_LIST_FILE_PATH: "{{ .Values.whitelistFilePath }}" STEP_WHITE_LIST_FILE_PATH: "{{ .Values.whitelistFilePath }}"
APPLICATION_ID: "{{ .Values.deploymentName }}-{{ .Values.k8sEnvironment }}-app" APPLICATION_ID: "{{ .Values.deploymentName }}-{{ .Values.k8sEnvironment }}-app"
TOPIC_IN: "{{ .Values.inputTopic }}" TOPIC_IN: "{{ .Values.inputTopic }}"
......
...@@ -6,14 +6,17 @@ tag: "latest" ...@@ -6,14 +6,17 @@ tag: "latest"
k8sEnvironment: none k8sEnvironment: none
k8sReplicas: 1 k8sReplicas: 1
k8sRequestsCpu: "0.2" k8sRequestsCpu: "0.2"
k8sRequestsMemory: "256Mi" k8sRequestsMemory: "256M"
k8sLimitsCpu: "1" k8sLimitsCpu: "0.5"
k8sLimitsMemory: "2Gi" k8sLimitsMemory: "1G"
deploymentName: placeholder deploymentName: placeholder
kafkaConfigs: placeholder kafkaConfigs: placeholder
inputTopic: placeholder inputTopic: placeholder
reportingTopic: placeholder reportingTopic: placeholder
importApiEndpoint: placeholder
importApiName: api-import
importApiPort: 5000
importApiPath: /v1/drupal/WriteElementReport
whitelistFilePath: /configs/whitelist.txt whitelistFilePath: /configs/whitelist.txt
whitelistFileConfig: placeholder whitelistFileConfig: placeholder
\ No newline at end of file
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