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 }}" name: "{{ $secretName }}"
key: adminPassword key: adminPassword
{{- end}} {{- end}}
{{- if .Values.config.csiSecretsStore }}
- name: WG_CONFIG
value: /secret/config.yaml
{{- end}}
volumeMounts: volumeMounts:
- name: tun - name: tun
mountPath: /dev/net/tun mountPath: /dev/net/tun
@ -74,7 +78,7 @@ spec:
mountPath: /data mountPath: /data
{{- if .Values.config.csiSecretsStore }} {{- if .Values.config.csiSecretsStore }}
- name: config - name: config
mountPath: /config.yaml mountPath: /secrets
{{- else }} {{- else }}
- name: config - name: config
mountPath: /config.yaml mountPath: /config.yaml