From 73a25c40df7760b81909f0bb549099b021778fb9 Mon Sep 17 00:00:00 2001 From: Zhivko-Ivanov-bucher-suter <118819603+Zhivko-Ivanov-bucher-suter@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:15:58 +0300 Subject: [PATCH] Update service-app-session-manager.yaml If enabled missing --- .../service-app-session-manager.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/service-app-session-manager/service-app-session-manager.yaml b/templates/service-app-session-manager/service-app-session-manager.yaml index 4417fb4..cf20da0 100644 --- a/templates/service-app-session-manager/service-app-session-manager.yaml +++ b/templates/service-app-session-manager/service-app-session-manager.yaml @@ -1,3 +1,4 @@ +{{- if .Values.serviceAppSessionManager.enabled }} {{- $statefulRabbitMq_secret := include "common.secretName.render" ( dict "existingSecret" $.Values.statefulRabbitMq.auth.existingSecret "defaultSecret" "cognigy-rabbitmq") }} {{- $statefulRedis_secret := include "common.secretName.render" ( dict "existingSecret" $.Values.statefulRedis.auth.existingSecret "defaultSecret" "cognigy-redis-password") }} {{- $serviceAppSessionManager_dbSecret := include "common.secretName.render" ( dict "existingSecret" $.Values.dbConnectionString.services.serviceAppSessionManager.auth.existingSecret "defaultSecret" (printf "cognigy-%s" $.Values.dbConnectionString.services.serviceAppSessionManager.serviceName)) }} @@ -113,4 +114,5 @@ spec: {{- include "image.pullSecrets" $ | nindent 6 }} securityContext: {{- toYaml .securityContext | nindent 8 }} -{{- end }} \ No newline at end of file +{{- end }} +{{- end }}