Skip to content

Commit af8e7ce

Browse files
committed
add volumes and volume mounts
1 parent 30530f4 commit af8e7ce

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ spec:
2020
spec:
2121
serviceAccountName: {{ include "chart.fullname" . }}-nodeplugin
2222
dnsPolicy: ClusterFirstWithHostNet
23+
initContainers:
24+
{{- include "certificates.initContainer" . | nindent 8 }}
2325
containers:
2426
- name: node-driver-registrar
2527
args:
@@ -143,6 +145,7 @@ spec:
143145
name: pods-mount-dir
144146
- mountPath: /var/lib/rclone
145147
name: cache-dir
148+
{{- include "certificates.volumeMounts.system" . | nindent 8 }}
146149
{{- with .Values.csiNodepluginRclone.nodeSelector }}
147150
nodeSelector:
148151
{{ toYaml . | nindent 8 }}
@@ -170,3 +173,4 @@ spec:
170173
name: registration-dir
171174
- name: cache-dir
172175
emptyDir: {}
176+
{{- include "certificatesForMounts.volumes" . | nindent 6 }}

0 commit comments

Comments
 (0)