Mounting on root is hard
This commit is contained in:
parent
30576539a0
commit
332abdf00b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue