From 683149a0e45eda34ebbcb4910c710a66040107a6 Mon Sep 17 00:00:00 2001 From: Felix Reichenbach <felix.reichenbach@mgm-tp.com> Date: Fri, 20 Dec 2024 09:36:52 +0100 Subject: [PATCH] OZG-7131 fachstelle host should not be set if disabled --- src/main/helm/templates/deployment.yaml | 2 ++ src/test/helm/deployment_fachstelle_host_test.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/src/main/helm/templates/deployment.yaml b/src/main/helm/templates/deployment.yaml index 113dce5b9..47459d82b 100644 --- a/src/main/helm/templates/deployment.yaml +++ b/src/main/helm/templates/deployment.yaml @@ -278,8 +278,10 @@ spec: - name: ozgcloud_alfa_host value: {{ include "app.alfaHost" . }} + {{- if (.Values.fachstelle).enabled }} - name: ozgcloud_fachstelle_host value: {{ include "app.fachstelleHost" . }} + {{- end }} - name: ozgcloud_vorgangManager_serviceAddress value: {{ include "app.ozgcloud_vorgangmanager_address" . }} diff --git a/src/test/helm/deployment_fachstelle_host_test.yaml b/src/test/helm/deployment_fachstelle_host_test.yaml index 1e7335c3b..8d728d576 100644 --- a/src/test/helm/deployment_fachstelle_host_test.yaml +++ b/src/test/helm/deployment_fachstelle_host_test.yaml @@ -59,3 +59,4 @@ tests: path: spec.template.spec.containers[0].env content: name: ozgcloud_fachstelle_host + value: null -- GitLab