fix(auto-perms): don't try recursive on file

This commit is contained in:
Stavros kois
2022-11-06 20:50:42 +02:00
parent fc93547667
commit 407b501e23
3 changed files with 3 additions and 4 deletions

View File

@@ -15,5 +15,4 @@ maintainers:
name: common
sources: null
type: library
version: 10.8.0
version: 10.8.1

View File

@@ -90,7 +90,7 @@ before chart installation.
echo "Automatically correcting permissions..."
{{- if and ( .Values.addons.vpn.configFile.enabled ) ( ne .Values.addons.vpn.type "disabled" ) ( ne .Values.addons.vpn.type "tailscale" ) }}
echo "Automatically correcting permissions for vpn config file..."
/usr/bin/nfs4xdr_winacl -a chown -O 568 -G 568 -r -c /vpn/vpn.conf -p /vpn/vpn.conf
/usr/bin/nfs4xdr_winacl -a chown -O 568 -G 568 -c /vpn/vpn.conf -p /vpn/vpn.conf
{{- end }}
{{- range $_, $hpm := $hostPathMounts }}
echo "Automatically correcting permissions for {{ $hpm.mountPath }}..."

View File

@@ -41,7 +41,7 @@ spec:
- name: {{ $fullName }}-crds
configMap:
name: {{ $fullName }}-crds
restartPolicy: OnFailure
restartPolicy: Never
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole