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