From 17afe22af9048c77f326251ebf63b789868d4ccc Mon Sep 17 00:00:00 2001 From: Yannick Evers Date: Thu, 4 Apr 2024 14:34:07 +0000 Subject: [PATCH] Fix parentheses --- .../schulcloud-calendar-core/templates/deployment.yml.j2 | 6 +++--- .../schulcloud-calendar-init/templates/job_init_db.yml.j2 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ansible/roles/schulcloud-calendar-core/templates/deployment.yml.j2 b/ansible/roles/schulcloud-calendar-core/templates/deployment.yml.j2 index bf7401f..c1a02bc 100644 --- a/ansible/roles/schulcloud-calendar-core/templates/deployment.yml.j2 +++ b/ansible/roles/schulcloud-calendar-core/templates/deployment.yml.j2 @@ -52,11 +52,11 @@ spec: name: pg-calendar-secret env: - name: DB_PASSWORD - value: "${DB_USER_PASSWORD}" + value: "$(DB_USER_PASSWORD)" - name: DB_USERNAME - value: "${DB_USER}" + value: "$(DB_USER)" - name: DB_DATABASE - value: "${DB_NAME}" + value: "$(DB_NAME)" {% endif %} livenessProbe: failureThreshold: 3 diff --git a/ansible/roles/schulcloud-calendar-init/templates/job_init_db.yml.j2 b/ansible/roles/schulcloud-calendar-init/templates/job_init_db.yml.j2 index a0c61f0..1619dd9 100644 --- a/ansible/roles/schulcloud-calendar-init/templates/job_init_db.yml.j2 +++ b/ansible/roles/schulcloud-calendar-init/templates/job_init_db.yml.j2 @@ -20,11 +20,11 @@ spec: name: pg-calendar-secret env: - name: DB_PASSWORD - value: "${DB_USER_PASSWORD}" + value: "$(DB_USER_PASSWORD)" - name: DB_USERNAME - value: "${DB_USER}" + value: "$(DB_USER)" - name: DB_DATABASE - value: "${DB_NAME}" + value: "$(DB_NAME)" {% endif %} volumeMounts: - name: script