From b0dc4f06345d0c932a4baecd365b5fcc74693fe6 Mon Sep 17 00:00:00 2001 From: RAMET Benjamin Date: Sun, 28 May 2023 11:32:24 +0200 Subject: [PATCH] Fix parenthesis --- charts/t-clo-902/Chart.yaml | 2 +- charts/t-clo-902/templates/back-secret.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/t-clo-902/Chart.yaml b/charts/t-clo-902/Chart.yaml index 11e591f..6c70384 100644 --- a/charts/t-clo-902/Chart.yaml +++ b/charts/t-clo-902/Chart.yaml @@ -3,6 +3,6 @@ name: t-clo-902 description: A Helm chart to sell cats on Kubernetes type: application -version: 0.41.0 +version: 0.42.0 appVersion: "1.1.0" diff --git a/charts/t-clo-902/templates/back-secret.yaml b/charts/t-clo-902/templates/back-secret.yaml index 2c1be93..0b3fe1d 100644 --- a/charts/t-clo-902/templates/back-secret.yaml +++ b/charts/t-clo-902/templates/back-secret.yaml @@ -1,9 +1,9 @@ -{{- $esName := (printf "elasticsearch-%s-es-elastic-user" .Release.Name }} +{{- $esName := (printf "elasticsearch-%s-es-elastic-user" .Release.Name) }} {{- $secretEs := (lookup "v1" "Secret" .Release.Namespace $esName) }} {{- $secretEsData := (get $secretEs "data") }} {{- $esPass := (get $secretEsData "elastic") }} -{{- $amqpName := (printf "amqp-%s-rabbitmq" .Release.Name }} +{{- $amqpName := (printf "amqp-%s-rabbitmq" .Release.Name) }} {{- $secretAmqp := (lookup "v1" "Secret" .Release.Namespace $amqpName) }} {{- $secretAmqpData := (get $secretAmqp "data") }} {{- $amqpPass := (get $secretAmqpData "rabbitmq-password") }}