From d44edd597df82933f331ba63cf03e3b9dfae4f9a Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Fri, 12 Aug 2022 10:29:36 +0300 Subject: [PATCH] fix(dnsPolicy): fix lists where was initialized as empty always (#203) --- charts/common/Chart.yaml | 2 +- charts/common/templates/lib/controller/_pod.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index 83525f75..e6f4b5fb 100644 --- a/charts/common/Chart.yaml +++ b/charts/common/Chart.yaml @@ -15,4 +15,4 @@ maintainers: name: common sources: null type: library -version: 10.4.11 +version: 10.4.12 diff --git a/charts/common/templates/lib/controller/_pod.tpl b/charts/common/templates/lib/controller/_pod.tpl index 4f9f2c23..3e91d748 100644 --- a/charts/common/templates/lib/controller/_pod.tpl +++ b/charts/common/templates/lib/controller/_pod.tpl @@ -37,11 +37,11 @@ dnsConfig: {{ tpl ( toYaml . ) $ | nindent 4 }} {{- end }} {{- with .Values.dnsConfig.nameservers }} - nameservers: [] + nameservers: {{ tpl ( toYaml . ) $ | nindent 4 }} {{- end }} {{- with .Values.dnsConfig.searches }} - searches: [] + searches: {{ tpl ( toYaml . ) $ | nindent 4 }} {{- end }} {{- end }}