mirror of
https://github.com/cristicalin/synology-csi.git
synced 2026-03-27 03:13:06 +00:00
fix #27 - use imagePullPolicy: IfNotPresent for csi driver
This commit is contained in:
@@ -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/
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|||||||
Reference in New Issue
Block a user