From 4bba1c0911b870e677bb61994196b455ce4cf718 Mon Sep 17 00:00:00 2001 From: Jeff Ortel Date: Wed, 11 Sep 2024 06:26:22 -0700 Subject: [PATCH] Fix importer deployment DB env for both latest and stable. Signed-off-by: Jeff Ortel --- roles/tackle/templates/kai/kai-importer-deployment.yaml.j2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/tackle/templates/kai/kai-importer-deployment.yaml.j2 b/roles/tackle/templates/kai/kai-importer-deployment.yaml.j2 index 8a9899f..413be6f 100644 --- a/roles/tackle/templates/kai/kai-importer-deployment.yaml.j2 +++ b/roles/tackle/templates/kai/kai-importer-deployment.yaml.j2 @@ -23,11 +23,16 @@ spec: secretKeyRef: name: "{{ kai_database_secret_name }}" key: POSTGRESQL_HOST + - name: POSTGRESQL_DB + valueFrom: + secretKeyRef: + name: "{{ kai_database_secret_name }}" + key: POSTGRESQL_DATABASE - name: POSTGRESQL_DATABASE valueFrom: secretKeyRef: name: "{{ kai_database_secret_name }}" - key: POSTGRESQL_DB + key: POSTGRESQL_DATABASE - name: POSTGRESQL_PASSWORD valueFrom: secretKeyRef: