(fix) correct autopermissions indent error in common
This commit is contained in:
@@ -15,4 +15,4 @@ maintainers:
|
|||||||
name: common
|
name: common
|
||||||
sources: null
|
sources: null
|
||||||
type: library
|
type: library
|
||||||
version: 8.0.7
|
version: 8.0.8
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ before chart installation.
|
|||||||
- "echo 'Automatically correcting permissions...';{{ if and ( .Values.addons.vpn.configFile.enabled ) ( not ( eq .Values.addons.vpn.type "disabled" )) }}chown -R 568:568 /vpn/vpn.conf; chmod -R g+w /vpn/vpn.conf;{{ end }}{{ range $_, $hpm := $hostPathMounts }}chown -R :{{ $group }} {{ $hpm.mountPath | squote }}; chmod -R g+w {{ $hpm.mountPath | squote }};{{ end }}"
|
- "echo 'Automatically correcting permissions...';{{ if and ( .Values.addons.vpn.configFile.enabled ) ( not ( eq .Values.addons.vpn.type "disabled" )) }}chown -R 568:568 /vpn/vpn.conf; chmod -R g+w /vpn/vpn.conf;{{ end }}{{ range $_, $hpm := $hostPathMounts }}chown -R :{{ $group }} {{ $hpm.mountPath | squote }}; chmod -R g+w {{ $hpm.mountPath | squote }};{{ end }}"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- if and ( .Values.addons.vpn.configFile.enabled ) ( not ( eq .Values.addons.vpn.type "disabled" )) }}
|
{{- if and ( .Values.addons.vpn.configFile.enabled ) ( not ( eq .Values.addons.vpn.type "disabled" )) }}
|
||||||
- name: vpnconfig
|
- name: vpnconfig
|
||||||
mountPath: /vpn/vpn.conf
|
mountPath: /vpn/vpn.conf
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- range $name, $hpm := $hostPathMounts }}
|
{{- range $name, $hpm := $hostPathMounts }}
|
||||||
- name: {{ $name }}
|
- name: {{ $name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user