Mounting on root is hard

This commit is contained in:
Martyn 2023-12-04 17:05:31 +00:00
parent 30576539a0
commit 332abdf00b
1 changed files with 5 additions and 1 deletions

View File

@ -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