mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-04 20:41:24 -03:00
fix autoperms use of the vpn configfile
This commit is contained in:
@@ -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..."
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user