fix autoperms use of the vpn configfile

This commit is contained in:
Kjeld Schouten-Lebbing
2023-02-18 21:40:10 +01:00
parent 323478eddb
commit 5205bb8308
2 changed files with 3 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ spec:
{{- $_ := set $hostPathMounts $name $mount -}}
{{- end -}}
{{- end }}
{{- if and ( .Values.addons.vpn.configFile.enabled ) ( ne .Values.addons.vpn.type "disabled" ) ( ne .Values.addons.vpn.type "tailscale" ) }}
{{- if and ( .Values.addons.vpn.configFile ) ( ne .Values.addons.vpn.type "disabled" ) ( ne .Values.addons.vpn.type "tailscale" ) }}
echo "Automatically correcting permissions for vpn config file..."
{{- if $.Values.ixChartContext }}
/usr/sbin/nfs4xdr_winacl -a chown -O 568 -G 568 -c /vpn/vpn.conf -p /vpn/vpn.conf || echo "Failed setting permissions using winacl..."

View File

@@ -505,9 +505,9 @@ addons:
# value: somevalue
# -- Provide a customized vpn configuration file to be used by the VPN.
configFile: "/vpn/vpn.conf"
configFile: ""
# -- Provide a customized vpn configuration file to be used by the VPN.
# -- Provide a customized vpn configuration folder to be added to the VPN container
configFolder: ""
## TODO to be implemented