From 7ab6156b988dc5d33c83b703cb4890e18adc8e68 Mon Sep 17 00:00:00 2001 From: Pawan Date: Thu, 28 Nov 2019 15:52:49 +0530 Subject: [PATCH] fix(zfspv): changing image pull policy to IfNotPresent to make it not pull the image all the time. Also, it needed so that while doing integration test, it uses the local image we just build, instead of fetching the image from the dockerhub or quay so that we can run ci on the locally built image. Signed-off-by: Pawan --- deploy/zfs-operator.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/zfs-operator.yaml b/deploy/zfs-operator.yaml index 2c72a39..75aee0a 100644 --- a/deploy/zfs-operator.yaml +++ b/deploy/zfs-operator.yaml @@ -162,7 +162,7 @@ spec: mountPath: /var/lib/csi/sockets/pluginproxy/ - name: openebs-zfs-plugin image: quay.io/openebs/zfs-driver:ci - imagePullPolicy: Always + imagePullPolicy: IfNotPresent env: - name: OPENEBS_CONTROLLER_DRIVER value: controller @@ -391,7 +391,7 @@ spec: add: ["CAP_MKNOD", "CAP_SYS_ADMIN", "SYS_ADMIN"] allowPrivilegeEscalation: true image: quay.io/openebs/zfs-driver:ci - imagePullPolicy: Always + imagePullPolicy: IfNotPresent args: - "--nodeid=$(OPENEBS_NODE_ID)" - "--endpoint=$(OPENEBS_CSI_ENDPOINT)"