From 5129be3fc8d6f0e32f21e40fb616fc3bbe58009a Mon Sep 17 00:00:00 2001 From: Lars Scheibling Date: Thu, 5 Oct 2023 18:27:07 +0200 Subject: [PATCH] Swap imagepullpolicy to always --- .gitlab-ci.yml | 2 +- Chart/templates/deployment.yaml | 2 +- Chart/templates/job.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5b0c69a..9d7ce07 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - HELM_CHART_VERSION: "1.0.22" + HELM_CHART_VERSION: "1.0.23" stages: - deploy diff --git a/Chart/templates/deployment.yaml b/Chart/templates/deployment.yaml index 7aae0e6..e4a3474 100644 --- a/Chart/templates/deployment.yaml +++ b/Chart/templates/deployment.yaml @@ -140,7 +140,7 @@ spec: securityContext: runAsUser: 101 image: "{{ .Values.site.image }}" - imagePullPolicy: IfNotPresent + imagePullPolicy: Always volumeMounts: - name: serverconfig mountPath: /docker-entrypoint.d/unit.json diff --git a/Chart/templates/job.yaml b/Chart/templates/job.yaml index aa436e5..693adf4 100644 --- a/Chart/templates/job.yaml +++ b/Chart/templates/job.yaml @@ -88,7 +88,7 @@ spec: allowPrivilegeEscalation: false runAsUser: 0 image: "{{ .Values.site.image }}" - imagePullPolicy: Always + imagePullPolicy: IfNotPresent volumeMounts: - name: serverconfig mountPath: /init-go/config.json