From 0c82c8f338dcad4f712e067f3579197023d69dc9 Mon Sep 17 00:00:00 2001 From: ihiverlet <94982379+ihiverlet@users.noreply.github.com> Date: Thu, 26 Oct 2023 10:27:44 +0200 Subject: [PATCH] verify if repository value exists (#101) --- charts/library-chart/Chart.yaml | 2 +- charts/library-chart/templates/_secret.tpl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/library-chart/Chart.yaml b/charts/library-chart/Chart.yaml index f16ec9cc..ab1ce0a8 100644 --- a/charts/library-chart/Chart.yaml +++ b/charts/library-chart/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v2 name: library-chart -version: 1.5.14 +version: 1.5.15 type: library diff --git a/charts/library-chart/templates/_secret.tpl b/charts/library-chart/templates/_secret.tpl index 9ab097b0..d98bcf5a 100644 --- a/charts/library-chart/templates/_secret.tpl +++ b/charts/library-chart/templates/_secret.tpl @@ -393,8 +393,10 @@ metadata: stringData: spark-defaults.conf: | {{- include "library-chart.sparkConf" . | nindent 4 }} + {{- if .Values.repository -}} {{- if .Values.repository.mavenRepository -}} {{ printf "spark.jars.ivySettings /opt/spark/conf/ivysettings.xml" }} {{- end }} + {{- end }} {{- end }} {{- end }} \ No newline at end of file