diff --git a/charts/library/common/Chart.yaml b/charts/library/common/Chart.yaml index 601592243c7..b0fca84cad9 100644 --- a/charts/library/common/Chart.yaml +++ b/charts/library/common/Chart.yaml @@ -48,5 +48,4 @@ sources: - https://hub.docker.com/_/ - https://hub.docker.com/r/mikefarah/yq type: library -version: 28.12.4 - +version: 28.12.5 diff --git a/charts/library/common/templates/addons/_gluetun.tpl b/charts/library/common/templates/addons/_gluetun.tpl index cae8ebcc1bf..9bf80a62867 100644 --- a/charts/library/common/templates/addons/_gluetun.tpl +++ b/charts/library/common/templates/addons/_gluetun.tpl @@ -16,7 +16,9 @@ It will include / inject the required templates based on the given values. {{- else -}} {{- $nets := list -}} {{- end -}} - {{- $nets = mustAppend ($nets $.Values.chartContext.podCIDR $.Values.chartContext.svcCIDR) | mustUniq -}} + {{- $nets = mustAppend $nets $.Values.chartContext.podCIDR -}} + {{- $nets = mustAppend $nets $.Values.chartContext.svcCIDR -}} + {{- $nets = mustUniq $nets -}} {{- $_ := set $glue.container.env "FIREWALL_OUTBOUND_SUBNETS" (join "," $nets) -}} {{- $inputPorts := $glue.container.env.FIREWALL_INPUT_PORTS | splitList "," -}}