From 043a727f085b62d2c8828f9bf21a3045a3caf681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Bigorajski?= Date: Wed, 15 Jan 2025 15:43:44 +0100 Subject: [PATCH] another test 5 --- src/templates/configmap.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/templates/configmap.yaml b/src/templates/configmap.yaml index ebfcb7c..7af1ae2 100644 --- a/src/templates/configmap.yaml +++ b/src/templates/configmap.yaml @@ -74,8 +74,13 @@ data: } {{- end }} {{- if gt (len (default dict .Values.enterprise.flinkK8sOperatorDeploymentManager.additionalLibs)) 0 }} - additionalLibsTest: { - {{ .Values.enterprise.flinkK8sOperatorDeploymentManager.additionalLibs | toYaml | indent 2 }} + additionalLibs: { + libsNames: {{ tpl ( mustToJson .Values.enterprise.flinkK8sOperatorDeploymentManager.additionalLibs.libsNames) . }} + imageName: {{ .Values.enterprise.flinkK8sOperatorDeploymentManager.additionalLibs.imageName | quote }} + libsPath: {{ .Values.enterprise.flinkK8sOperatorDeploymentManager.additionalLibs.libsPath | quote }} + {{- if hasKey .Values.enterprise.flinkK8sOperatorDeploymentManager.additionalLibs "imagePullSecrets" }} + imagePullSecrets: {{ .Values.enterprise.flinkK8sOperatorDeploymentManager.additionalLibs.imagePullSecrets | quote }} + {{- end }} } {{- end }} }