From 49412781ea0863eab67719a0b5caeb69f91719e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Wed, 16 Aug 2023 10:35:57 +0300 Subject: [PATCH] openebs: Pin specific image --- openebs/rawfile.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/openebs/rawfile.yaml b/openebs/rawfile.yaml index 1e85378..4c75d39 100644 --- a/openebs/rawfile.yaml +++ b/openebs/rawfile.yaml @@ -199,8 +199,8 @@ spec: type: DirectoryOrCreate containers: - name: csi-driver - image: "harbor.k-space.ee/k-space/rawfile-localpv:latest" - imagePullPolicy: Always + image: "harbor.k-space.ee/k-space/rawfile-localpv@sha256:03452efdac5bccb9bfc0d4b9c371d17588c24b075d7d34fa01f63d7e262eecd8" + imagePullPolicy: IfNotPresent securityContext: privileged: true env: @@ -211,7 +211,7 @@ spec: - name: IMAGE_REPOSITORY value: "harbor.k-space.ee/k-space/rawfile-localpv" - name: IMAGE_TAG - value: "latest" + value: "latest@sha256:03452efdac5bccb9bfc0d4b9c371d17588c24b075d7d34fa01f63d7e262eecd8" - name: NODE_ID valueFrom: fieldRef: @@ -329,8 +329,8 @@ spec: emptyDir: {} containers: - name: csi-driver - image: "harbor.k-space.ee/k-space/rawfile-localpv" - imagePullPolicy: Always + image: "harbor.k-space.ee/k-space/rawfile-localpv@sha256:03452efdac5bccb9bfc0d4b9c371d17588c24b075d7d34fa01f63d7e262eecd8" + imagePullPolicy: IfNotPresent args: - csi-driver - --disable-metrics @@ -342,7 +342,7 @@ spec: - name: IMAGE_REPOSITORY value: "harbor.k-space.ee/k-space/rawfile-localpv" - name: IMAGE_TAG - value: "latest" + value: "latest@sha256:03452efdac5bccb9bfc0d4b9c371d17588c24b075d7d34fa01f63d7e262eecd8" volumeMounts: - name: socket-dir mountPath: /csi