diff --git a/hadoop-ozone/dist/src/main/k8s/definitions/ozone-csi/csi-controller.yaml b/hadoop-ozone/dist/src/main/k8s/definitions/ozone-csi/csi-controller.yaml index e7c222260101..53d0e5cf3d71 100644 --- a/hadoop-ozone/dist/src/main/k8s/definitions/ozone-csi/csi-controller.yaml +++ b/hadoop-ozone/dist/src/main/k8s/definitions/ozone-csi/csi-controller.yaml @@ -41,7 +41,7 @@ spec: volumeMounts: - name: socket-dir mountPath: /var/lib/csi/ - imagePullPolicy: Always + imagePullPolicy: IfNotPresent envFrom: - configMapRef: name: config diff --git a/hadoop-ozone/dist/src/main/k8s/definitions/ozone-csi/csi-node.yaml b/hadoop-ozone/dist/src/main/k8s/definitions/ozone-csi/csi-node.yaml index 6c3a1ac36b7b..8273dc2e8066 100644 --- a/hadoop-ozone/dist/src/main/k8s/definitions/ozone-csi/csi-node.yaml +++ b/hadoop-ozone/dist/src/main/k8s/definitions/ozone-csi/csi-node.yaml @@ -58,7 +58,7 @@ spec: envFrom: - configMapRef: name: config - imagePullPolicy: "Always" + imagePullPolicy: "IfNotPresent" volumeMounts: - name: plugin-dir mountPath: /var/lib/csi diff --git a/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/csi/csi-node-daemonset.yaml b/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/csi/csi-node-daemonset.yaml index fe4453232d20..3ebfd9485c5d 100644 --- a/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/csi/csi-node-daemonset.yaml +++ b/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/csi/csi-node-daemonset.yaml @@ -60,7 +60,7 @@ spec: envFrom: - configMapRef: name: config - imagePullPolicy: Always + imagePullPolicy: IfNotPresent volumeMounts: - name: plugin-dir mountPath: /var/lib/csi diff --git a/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/csi/csi-provisioner-deployment.yaml b/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/csi/csi-provisioner-deployment.yaml index 03478ffeee27..fe41ac0e21b2 100644 --- a/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/csi/csi-provisioner-deployment.yaml +++ b/hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/csi/csi-provisioner-deployment.yaml @@ -42,7 +42,7 @@ spec: volumeMounts: - name: socket-dir mountPath: /var/lib/csi/ - imagePullPolicy: Always + imagePullPolicy: IfNotPresent envFrom: - configMapRef: name: config diff --git a/hadoop-ozone/dist/src/main/k8s/examples/ozone/csi/csi-node-daemonset.yaml b/hadoop-ozone/dist/src/main/k8s/examples/ozone/csi/csi-node-daemonset.yaml index fe4453232d20..3ebfd9485c5d 100644 --- a/hadoop-ozone/dist/src/main/k8s/examples/ozone/csi/csi-node-daemonset.yaml +++ b/hadoop-ozone/dist/src/main/k8s/examples/ozone/csi/csi-node-daemonset.yaml @@ -60,7 +60,7 @@ spec: envFrom: - configMapRef: name: config - imagePullPolicy: Always + imagePullPolicy: IfNotPresent volumeMounts: - name: plugin-dir mountPath: /var/lib/csi diff --git a/hadoop-ozone/dist/src/main/k8s/examples/ozone/csi/csi-provisioner-deployment.yaml b/hadoop-ozone/dist/src/main/k8s/examples/ozone/csi/csi-provisioner-deployment.yaml index 03478ffeee27..fe41ac0e21b2 100644 --- a/hadoop-ozone/dist/src/main/k8s/examples/ozone/csi/csi-provisioner-deployment.yaml +++ b/hadoop-ozone/dist/src/main/k8s/examples/ozone/csi/csi-provisioner-deployment.yaml @@ -42,7 +42,7 @@ spec: volumeMounts: - name: socket-dir mountPath: /var/lib/csi/ - imagePullPolicy: Always + imagePullPolicy: IfNotPresent envFrom: - configMapRef: name: config