From 8a44c2f866027af1ac60dd6f3f72d9437516dd0d Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Sat, 18 Feb 2023 22:16:45 +0100 Subject: [PATCH] more vpn work --- library/common/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/common/values.yaml b/library/common/values.yaml index 937fa2e7..0fdf95bd 100644 --- a/library/common/values.yaml +++ b/library/common/values.yaml @@ -202,7 +202,7 @@ persistence: vpnconfig: enabled: '{{ if or ( eq .Values.addons.vpn.type "gluetun" ) ( eq .Values.addons.vpn.type "tailscale" ) }}true{{ else }}false{{ end }}' type: hostPath - hostPath: '{{ .Values.addons.vpn.configFile}}' + hostPath: '{{ .Values.addons.vpn.configFile | default "/vpn/vpn.conf" }}' hostPathType: "File" targetSelector: main: @@ -211,7 +211,7 @@ persistence: vpnfolder: enabled: '{{ if and ( or ( eq .Values.addons.vpn.type "gluetun" ) ( eq .Values.addons.vpn.type "tailscale" )) ( .Values.addons.vpn.configFolder ) }}true{{ else }}false{{ end }}' type: hostPath - hostPath: '{{ .Values.addons.vpn.configFolder}}' + hostPath: '{{ .Values.addons.vpn.configFolder | default "/vpn/mnt/" }}' targetSelector: main: vpn: