fix #27 - use imagePullPolicy: IfNotPresent for csi driver

This commit is contained in:
chihyuwu
2022-02-16 06:51:07 +00:00
parent 515bc7f0ed
commit f4cbfc8392
6 changed files with 6 additions and 6 deletions

View File

@@ -150,7 +150,7 @@ spec:
env: env:
- name: CSI_ENDPOINT - name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
imagePullPolicy: Always imagePullPolicy: IfNotPresent
volumeMounts: volumeMounts:
- name: socket-dir - name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/ mountPath: /var/lib/csi/sockets/pluginproxy/

View File

@@ -85,7 +85,7 @@ spec:
- name: csi-plugin - name: csi-plugin
securityContext: securityContext:
privileged: true privileged: true
imagePullPolicy: Always imagePullPolicy: IfNotPresent
image: synology/synology-csi:v1.0.1 image: synology/synology-csi:v1.0.1
args: args:
- --nodeid=$(KUBE_NODE_NAME) - --nodeid=$(KUBE_NODE_NAME)

View File

@@ -91,7 +91,7 @@ spec:
env: env:
- name: CSI_ENDPOINT - name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
imagePullPolicy: Always imagePullPolicy: IfNotPresent
volumeMounts: volumeMounts:
- name: socket-dir - name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/ mountPath: /var/lib/csi/sockets/pluginproxy/

View File

@@ -150,7 +150,7 @@ spec:
env: env:
- name: CSI_ENDPOINT - name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
imagePullPolicy: Always imagePullPolicy: IfNotPresent
volumeMounts: volumeMounts:
- name: socket-dir - name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/ mountPath: /var/lib/csi/sockets/pluginproxy/

View File

@@ -85,7 +85,7 @@ spec:
- name: csi-plugin - name: csi-plugin
securityContext: securityContext:
privileged: true privileged: true
imagePullPolicy: Always imagePullPolicy: IfNotPresent
image: synology/synology-csi:v1.0.1 image: synology/synology-csi:v1.0.1
args: args:
- --nodeid=$(KUBE_NODE_NAME) - --nodeid=$(KUBE_NODE_NAME)

View File

@@ -91,7 +91,7 @@ spec:
env: env:
- name: CSI_ENDPOINT - name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
imagePullPolicy: Always imagePullPolicy: IfNotPresent
volumeMounts: volumeMounts:
- name: socket-dir - name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/ mountPath: /var/lib/csi/sockets/pluginproxy/