From 3c4a5a1089f2099bafb24937759ae3b1f7c1f146 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Tue, 2 Jan 2024 15:53:47 +0100 Subject: [PATCH] Fix bug in local-cache when using DualStack Signed-off-by: Manuel Buil --- .../generated-changes/patch/templates/_helpers.tpl.patch | 2 +- packages/rke2-coredns/package.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/rke2-coredns/generated-changes/patch/templates/_helpers.tpl.patch b/packages/rke2-coredns/generated-changes/patch/templates/_helpers.tpl.patch index 8d5b4db..6d25fcb 100644 --- a/packages/rke2-coredns/generated-changes/patch/templates/_helpers.tpl.patch +++ b/packages/rke2-coredns/generated-changes/patch/templates/_helpers.tpl.patch @@ -35,7 +35,7 @@ + {{- .Values.global.clusterDNS }} + {{- else }} + {{- if gt $dnsCount 1 }} -+ {{- $dnsIPs._0 }} ++ {{- $dnsIPs._0 -}} + {{ else }} + {{- "10.43.0.10" }} + {{- end }} diff --git a/packages/rke2-coredns/package.yaml b/packages/rke2-coredns/package.yaml index 94c4a53..c5a7b9d 100644 --- a/packages/rke2-coredns/package.yaml +++ b/packages/rke2-coredns/package.yaml @@ -1,4 +1,4 @@ url: https://github.com/coredns/helm/releases/download/coredns-1.24.0/coredns-1.24.0.tgz -packageVersion: 07 +packageVersion: 08 # This repository does not use releaseCandidateVersions, so you can leave this as 00. releaseCandidateVersion: 00