From a31caeac4640b226b407d0e611745c144b856f99 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Thu, 27 Jul 2023 21:03:34 +0300 Subject: [PATCH] fix tailscale extraArgs (#1396) --- library/ix-dev/community/tailscale/Chart.yaml | 2 +- library/ix-dev/community/tailscale/templates/_helper.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/ix-dev/community/tailscale/Chart.yaml b/library/ix-dev/community/tailscale/Chart.yaml index 511d3de0b2..5170687c99 100644 --- a/library/ix-dev/community/tailscale/Chart.yaml +++ b/library/ix-dev/community/tailscale/Chart.yaml @@ -3,7 +3,7 @@ description: Secure remote access to shared resources annotations: title: Tailscale type: application -version: 1.0.12 +version: 1.0.13 apiVersion: v2 appVersion: 1.44.0 kubeVersion: '>=1.16.0-0' diff --git a/library/ix-dev/community/tailscale/templates/_helper.tpl b/library/ix-dev/community/tailscale/templates/_helper.tpl index a9855045e9..68ae66f669 100644 --- a/library/ix-dev/community/tailscale/templates/_helper.tpl +++ b/library/ix-dev/community/tailscale/templates/_helper.tpl @@ -9,8 +9,8 @@ {{- $args = mustAppend $args "--advertise-exit-node" -}} {{- end -}} - {{- with .Values.tailscaleConfig.extraArgs -}} - {{- $args = mustAppend $args . -}} + {{- range $arg := .Values.tailscaleConfig.extraArgs -}} + {{- $args = mustAppend $args $arg -}} {{- end -}} {{- if $args -}}