Add command for flexvol-driver initcontainer

Related to https://github.com/rancher/rke2/issues/234

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/20/head
Brad Davidson 2020-09-18 13:26:49 -07:00
parent 7fa07be487
commit 92a0565b52
2 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ spec:
# to communicate with Felix over the Policy Sync API. # to communicate with Felix over the Policy Sync API.
- name: flexvol-driver - name: flexvol-driver
image: {{ template "system_default_registry" . }}{{ .Values.calico.flexvolImage.repository }}:{{ .Values.calico.flexvolImage.tag }} image: {{ template "system_default_registry" . }}{{ .Values.calico.flexvolImage.repository }}:{{ .Values.calico.flexvolImage.tag }}
command: ['/usr/local/bin/flexvol.sh', '-s', '/usr/local/bin/flexvol', '-i', 'flexvoldriver']
volumeMounts: volumeMounts:
- name: flexvol-driver-host - name: flexvol-driver-host
mountPath: /host/driver mountPath: /host/driver