From b4833047991b4fad4a301abe8c527e503e4dae2f Mon Sep 17 00:00:00 2001 From: Jeff Ortel Date: Tue, 10 Sep 2024 12:30:01 -0700 Subject: [PATCH] Renamed: kai_db_secret_name => kai_database_secret_name. Signed-off-by: Jeff Ortel --- roles/tackle/templates/kai/kai-api-deployment.yaml.j2 | 10 +++++----- roles/tackle/templates/kai/kai-db-deployment.yaml.j2 | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/roles/tackle/templates/kai/kai-api-deployment.yaml.j2 b/roles/tackle/templates/kai/kai-api-deployment.yaml.j2 index b47781e..354753d 100644 --- a/roles/tackle/templates/kai/kai-api-deployment.yaml.j2 +++ b/roles/tackle/templates/kai/kai-api-deployment.yaml.j2 @@ -23,27 +23,27 @@ spec: - name: POSTGRESQL_HOST valueFrom: secretKeyRef: - name: "{{ kai_db_secret_name }}" + name: "{{ kai_database_secret_name }}" key: POSTGRESQL_HOST - name: POSTGRESQL_DATABASE valueFrom: secretKeyRef: - name: "{{ kai_db_secret_name }}" + name: "{{ kai_database_secret_name }}" key: POSTGRESQL_DATABASE - name: POSTGRESQL_DB valueFrom: secretKeyRef: - name: "{{ kai_db_secret_name }}" + name: "{{ kai_database_secret_name }}" key: POSTGRESQL_DATABASE - name: POSTGRESQL_PASSWORD valueFrom: secretKeyRef: - name: "{{ kai_db_secret_name }}" + name: "{{ kai_database_secret_name }}" key: POSTGRESQL_PASSWORD - name: POSTGRESQL_USER valueFrom: secretKeyRef: - name: "{{ kai_db_secret_name }}" + name: "{{ kai_database_secret_name }}" key: POSTGRESQL_USER - name: DEMO_MODE value: "False" diff --git a/roles/tackle/templates/kai/kai-db-deployment.yaml.j2 b/roles/tackle/templates/kai/kai-db-deployment.yaml.j2 index 4fc61b8..8d4c269 100644 --- a/roles/tackle/templates/kai/kai-db-deployment.yaml.j2 +++ b/roles/tackle/templates/kai/kai-db-deployment.yaml.j2 @@ -21,17 +21,17 @@ spec: - name: POSTGRESQL_DATABASE valueFrom: secretKeyRef: - name: "{{ kai_db_secret_name }}" + name: "{{ kai_database_secret_name }}" key: POSTGRESQL_DATABASE - name: POSTGRESQL_PASSWORD valueFrom: secretKeyRef: - name: "{{ kai_db_secret_name }}" + name: "{{ kai_database_secret_name }}" key: POSTGRESQL_PASSWORD - name: POSTGRESQL_USER valueFrom: secretKeyRef: - name: "{{ kai_db_secret_name }}" + name: "{{ kai_database_secret_name }}" key: POSTGRESQL_USER volumeMounts: - mountPath: /var/lib/postgresql/data