Skip to content

Commit

Permalink
Merge pull request #1366 from porter-dev/less-aggressive-pull-policy
Browse files Browse the repository at this point in the history
fix: Change image pull policy to IfNotPresent
  • Loading branch information
MauAraujo authored Aug 7, 2024
2 parents 8004b7e + f7dbaf7 commit 2547c32
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion applications/job/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ allowConcurrency: true

image:
repository: public.ecr.aws/o1j4x7p4/hello-porter-job
pullPolicy: Always
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: latest
# A single imagePullSecret that will be injected into the deployment; only use in extreme cases, else it must be left blank.
Expand Down
2 changes: 1 addition & 1 deletion applications/web/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ spec:
apiVersion: v1
fieldPath: status.hostIP
image: ghcr.io/porter-dev/downward-api-init:latest
imagePullPolicy: Always
imagePullPolicy: {{ .Values.image.pullPolicy }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion applications/web/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ terminationGracePeriodSeconds: 30

image:
repository: public.ecr.aws/o1j4x7p4/hello-porter
pullPolicy: Always
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: latest
# A single imagePullSecret that will be injected into the deployment; only use in extreme cases, else it must be left blank.
Expand Down
2 changes: 1 addition & 1 deletion applications/worker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ spec:
apiVersion: v1
fieldPath: status.hostIP
image: ghcr.io/porter-dev/downward-api-init:latest
imagePullPolicy: Always
imagePullPolicy: {{ .Values.image.pullPolicy }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion applications/worker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ terminationGracePeriodSeconds: 30

image:
repository: public.ecr.aws/o1j4x7p4/hello-porter
pullPolicy: Always
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: latest
# A single imagePullSecret that will be injected into the deployment; only use in extreme cases, else it must be left blank.
Expand Down

0 comments on commit 2547c32

Please sign in to comment.