Skip to content

Commit a555a7e

Browse files
committed
feat: Remove imagePullPolicy from deployment and values files
1 parent 4d9bcc9 commit a555a7e

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

.github/workflows/deployment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ jobs:
3030
- name: DeployOs
3131
uses: WyriHaximus/github-action-helm3@v3
3232
with:
33-
exec: /usr/local/bin/helm upgrade gitdataos --install ./charts --namespace gitdata
33+
exec: /usr/local/bin/helm upgrade gitdataos --install ./charts --namespace gitdata --set image.tag=${{ steps.version.outputs.version }}
3434
kubeconfig: ${{ secrets.KUBECONTENT }}
3535
overrule_existing_kubeconfig: 'true'

charts/templates/deployment.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ spec:
3333
securityContext:
3434
{{- toYaml .Values.securityContext | nindent 12 }}
3535
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
36-
imagePullPolicy: {{ .Values.image.pullPolicy }}
3736
ports:
3837
- name: http
3938
containerPort: {{ .Values.service.targetPort }}

charts/values.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ namespace: gitdata
77
config: gitdataos-configmap
88
image:
99
repository: gitdatateam/gitdataos
10-
pullPolicy: IfNotPresent
1110
tag: latest
1211

1312
imagePullSecrets: []

0 commit comments

Comments
 (0)