diff --git a/scripts/helm/app/chalice.yaml b/scripts/helm/app/chalice.yaml index 1d2f1bd02..0ee55e78c 100644 --- a/scripts/helm/app/chalice.yaml +++ b/scripts/helm/app/chalice.yaml @@ -54,7 +54,7 @@ env: # Enable logging for python app # Ref: https://stackoverflow.com/questions/43969743/logs-in-kubernetes-pod-not-showing-up PYTHONUNBUFFERED: '0' - version_number: '1.2.0' + version_number: '1.3.0' SAML2_MD_URL: '' idp_entityId: '' idp_sso_url: '' diff --git a/scripts/helm/app/storage.yaml b/scripts/helm/app/storage.yaml index 836deab4a..981a9b885 100644 --- a/scripts/helm/app/storage.yaml +++ b/scripts/helm/app/storage.yaml @@ -43,3 +43,4 @@ env: KAFKA_SERVERS: kafka.db.svc.cluster.local:9092 KAFKA_USE_SSL: false LICENSE_KEY: "" + FS_CLEAN_HRS: 12 diff --git a/scripts/helm/migration.yaml b/scripts/helm/migration.yaml index 41637d7c5..4d7c2ce64 100644 --- a/scripts/helm/migration.yaml +++ b/scripts/helm/migration.yaml @@ -3,13 +3,15 @@ gather_facts: false environment: KUBECONFIG: "{{ kubeconfig_path }}" + vars: + db_path: [] tasks: - debug: var: migration_versions - block: - name: generating migration db paths set_fact: - db_path: "{{dst_list | default([])}} + [ '{{playbook_dir}}/db/init_dbs/postgresql/{{ item }}/*.sql' ]" + db_path: "{{ db_path }} + [ '{{playbook_dir}}/db/init_dbs/postgresql/{{ item }}/*.sql' ]" with_items: "{{ migration_versions.split(',') }}" - name: Migrate postgresql shell: | @@ -23,6 +25,9 @@ tags: - postgresql - block: + - name: Resetting the db path + set_fact: + db_path: [] - name: generating migration db paths set_fact: db_path: "{{dst_list | default([])}} + [ '{{ item[0] }}/*.sql' ]"