mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-05 04:06:22 -03:00
fix(auto-perms): don't try recursive on file
This commit is contained in:
@@ -15,5 +15,4 @@ maintainers:
|
||||
name: common
|
||||
sources: null
|
||||
type: library
|
||||
version: 10.8.0
|
||||
|
||||
version: 10.8.1
|
||||
|
||||
@@ -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 }}..."
|
||||
|
||||
@@ -41,7 +41,7 @@ spec:
|
||||
- name: {{ $fullName }}-crds
|
||||
configMap:
|
||||
name: {{ $fullName }}-crds
|
||||
restartPolicy: OnFailure
|
||||
restartPolicy: Never
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
|
||||
Reference in New Issue
Block a user