diff --git a/charts/argo-ci/templates/ci-deployment.yaml b/charts/argo-ci/templates/ci-deployment.yaml index c5577cab..8495176b 100644 --- a/charts/argo-ci/templates/ci-deployment.yaml +++ b/charts/argo-ci/templates/ci-deployment.yaml @@ -16,6 +16,7 @@ spec: containers: - name: ci image: "{{ .Values.imageNamespace }}/{{ .Values.ciImage }}:{{ .Values.imageTag }}" + imagePullPolicy: {{ .Values.imagePullPolicy }} env: - name: IN_CLUSTER value: "true" diff --git a/charts/argo-ci/values.yaml b/charts/argo-ci/values.yaml index 59e4daec..092b182e 100644 --- a/charts/argo-ci/values.yaml +++ b/charts/argo-ci/values.yaml @@ -1,6 +1,7 @@ imageNamespace: argoproj ciImage: argoci imageTag: v1.0.0-alpha2 +imagePullPolicy: Always workflowNamespace: default argo: diff --git a/charts/argo/templates/ui-deployment.yaml b/charts/argo/templates/ui-deployment.yaml index 8df55b7f..c81d09ea 100644 --- a/charts/argo/templates/ui-deployment.yaml +++ b/charts/argo/templates/ui-deployment.yaml @@ -21,6 +21,7 @@ spec: containers: - name: ui image: "{{ .Values.images.namespace }}/{{ .Values.images.ui }}:{{ .Values.images.tag }}" + imagePullPolicy: {{ .Values.images.pullPolicy }} env: {{- if .Values.ui.forceNamespaceIsolation }} - name: FORCE_NAMESPACE_ISOLATION diff --git a/charts/argo/templates/workflow-controller-deployment.yaml b/charts/argo/templates/workflow-controller-deployment.yaml index 2f35f983..bb489ba6 100644 --- a/charts/argo/templates/workflow-controller-deployment.yaml +++ b/charts/argo/templates/workflow-controller-deployment.yaml @@ -21,6 +21,7 @@ spec: containers: - name: controller image: "{{ .Values.images.namespace }}/{{ .Values.images.controller }}:{{ .Values.images.tag }}" + imagePullPolicy: {{ .Values.images.pullPolicy }} command: [ "workflow-controller" ] args: - "--configmap" diff --git a/charts/argo/values.yaml b/charts/argo/values.yaml index c1097ade..dcfa4fb8 100644 --- a/charts/argo/values.yaml +++ b/charts/argo/values.yaml @@ -3,6 +3,7 @@ images: controller: workflow-controller ui: argoui executor: argoexec + pullPolicy: Always tag: v2.2.1 crdVersion: v1alpha1