Due to a scheduled upgrade to version 14.10, GitLab will be unavailabe on Monday 30.05., from 19:00 until 20:00.

Commit 2755c134 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add sftp base path as config option.

parent efc0c3d0
......@@ -9,6 +9,7 @@ k8sLimitsCpu: "0.4"
k8sLimitsMemory: "256Mi"
logLevel: INFO
sftpBasePath: "/swissbib_index/mb_sftp"
drupalApiCredentials: drupal-api-credentials-prod
sftpConfigs: internal-sftp-config
......
......@@ -9,6 +9,7 @@ k8sLimitsCpu: "0.4"
k8sLimitsMemory: "256Mi"
logLevel: DEBUG
sftpBasePath: "/swissbib_index/mb_sftp/stage"
drupalApiCredentials: drupal-api-credentials-stage
sftpConfigs: internal-sftp-config
......
......@@ -9,6 +9,7 @@ k8sLimitsCpu: "0.4"
k8sLimitsMemory: "256Mi"
logLevel: DEBUG
sftpBasePath: "/swissbib_index/mb_sftp/test"
drupalApiCredentials: drupal-api-credentials-test
sftpConfigs: internal-sftp-config
......
......@@ -16,3 +16,4 @@ data:
CLEAR_CACHE_URL: {{ .Values.clearCacheUrl }}
LOG_LEVEL: "{{ .Values.logLevel }}"
NAMESPACE: "{{ .Values.namespace }}"
SFTP_BASE_PATH: "{{ .Values.sftpBasePath }}"
......@@ -14,6 +14,7 @@ k8sLimitsCpu: placeholder
k8sLimitsMemory: placeholder
logLevel: placeholder
sftpBasePath: placeholder
namespace: memobase
drupalApiCredentials: placeholder
......
......@@ -60,6 +60,7 @@ try:
app.config['sftp_port'] = os.environ['SFTP_PORT']
app.config['sftp_user'] = os.environ['SFTP_USER']
app.config['sftp_password'] = os.environ['SFTP_PASSWORD']
app.config['stfp_base_path'] = os.environ['SFTP_BASE_PATH']
app.config['tfv-kafka-configs'] = os.environ['TFV_KAFKA_SERVER_CONFIGS']
app.config['tfv-sftp-configs'] = os.environ['TFV_SFTP_CONFIGS']
app.config['tfv-topic-name'] = os.environ['TFV_TOPIC_NAME']
......
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