Commit 76da8caf authored by Matthias's avatar Matthias
Browse files

change name of helm-value

parent e67cae73
Pipeline #27968 passed with stages
in 1 minute and 59 seconds
...@@ -4,7 +4,7 @@ metadata: ...@@ -4,7 +4,7 @@ metadata:
name: {{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment}}-config name: {{ .Values.k8sGroupId }}-{{ .Values.k8sName }}-{{ .Values.k8sEnvironment}}-config
namespace: memobase namespace: memobase
data: data:
TFV_ENV: {{ .Values.k8sEnvironment }} ENV: {{ .Values.k8sEnvironment }}
TFV_KAFKA_SERVER_CONFIGS: {{ .Values.kafkaConfigs }} TFV_KAFKA_SERVER_CONFIGS: {{ .Values.kafkaConfigs }}
TFV_SFTP_CONFIGS: {{ .Values.sftpConfigs }} TFV_SFTP_CONFIGS: {{ .Values.sftpConfigs }}
TFV_TOPIC_NAME: {{ .Values.tfvTopicName }} TFV_TOPIC_NAME: {{ .Values.tfvTopicName }}
......
...@@ -46,7 +46,7 @@ def create_app(): ...@@ -46,7 +46,7 @@ def create_app():
app.config['tfv-sftp-configs'] = os.environ['TFV_SFTP_CONFIGS'] app.config['tfv-sftp-configs'] = os.environ['TFV_SFTP_CONFIGS']
app.config['tfv-topic-name'] = os.environ['TFV_TOPIC_NAME'] app.config['tfv-topic-name'] = os.environ['TFV_TOPIC_NAME']
app.config['tfv-reporting-topic-name'] = os.environ['TFV_REPORTING_TOPIC_NAME'] app.config['tfv-reporting-topic-name'] = os.environ['TFV_REPORTING_TOPIC_NAME']
app.config['tfv-env'] = os.environ['TFV_ENV'] app.config['env'] = os.environ['ENV']
app.config['SWAGGER'] = { app.config['SWAGGER'] = {
'title': 'Memobase Import API', 'title': 'Memobase Import API',
......
...@@ -54,7 +54,7 @@ class ImportProcessStart(Resource): ...@@ -54,7 +54,7 @@ class ImportProcessStart(Resource):
'sftpConfigs': current_app.config['tfv-sftp-configs'], 'sftpConfigs': current_app.config['tfv-sftp-configs'],
'topicName': current_app.config['tfv-topic-name'], 'topicName': current_app.config['tfv-topic-name'],
'reportingTopicName': current_app.config['tfv-reporting-topic-name'], 'reportingTopicName': current_app.config['tfv-reporting-topic-name'],
'env': current_app.config['tfv-env'] 'env': current_app.config['env']
} }
if 'xmlRecordTag' in job_parameters: if 'xmlRecordTag' in job_parameters:
......
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