From e6b0bb2db2f5690306cb408df76328535d0302bc Mon Sep 17 00:00:00 2001 From: Lars Date: Wed, 13 Sep 2023 10:54:07 +0200 Subject: [PATCH] Updated pull policy for main container since init container pulls image --- .gitlab-ci.yml | 2 +- Chart/templates/deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 363f8c6..7c87209 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - HELM_CHART_VERSION: "1.0.11" + HELM_CHART_VERSION: "1.0.12" stages: - deploy diff --git a/Chart/templates/deployment.yaml b/Chart/templates/deployment.yaml index 8e03023..02565a0 100644 --- a/Chart/templates/deployment.yaml +++ b/Chart/templates/deployment.yaml @@ -82,7 +82,7 @@ spec: image: cloudyne/ubuntu-ci:latest command: ["python3"] args: ["/usr/local/bin/storage-clone", "/mnt/cloud", "/mnt/local"] - imagePullPolicy: Always + imagePullPolicy: IfNotExists volumeMounts: - name: cloud mountPath: /mnt/cloud @@ -138,7 +138,7 @@ spec: securityContext: runAsUser: 101 image: "{{ .Values.site.image }}" - imagePullPolicy: Always + imagePullPolicy: IfNotExists volumeMounts: - name: serverconfig mountPath: /init-go/config.json