Mounting on root is hard
This commit is contained in:
parent
30576539a0
commit
332abdf00b
|
@ -67,6 +67,10 @@ spec:
|
|||
name: "{{ $secretName }}"
|
||||
key: adminPassword
|
||||
{{- end}}
|
||||
{{- if .Values.config.csiSecretsStore }}
|
||||
- name: WG_CONFIG
|
||||
value: /secret/config.yaml
|
||||
{{- end}}
|
||||
volumeMounts:
|
||||
- name: tun
|
||||
mountPath: /dev/net/tun
|
||||
|
@ -74,7 +78,7 @@ spec:
|
|||
mountPath: /data
|
||||
{{- if .Values.config.csiSecretsStore }}
|
||||
- name: config
|
||||
mountPath: /config.yaml
|
||||
mountPath: /secrets
|
||||
{{- else }}
|
||||
- name: config
|
||||
mountPath: /config.yaml
|
||||
|
|
Loading…
Reference in New Issue