Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image pull policy always #230

Merged
merged 2 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion template/deployments/helm/charts/production.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
image:
repository: "{{APPNAME}}"
pullPolicy: IfNotPresent
davidgamero marked this conversation as resolved.
Show resolved Hide resolved
pullPolicy: Always
tag: "latest"
service:
annotations: {}
Expand Down
2 changes: 1 addition & 1 deletion template/deployments/helm/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ containerPort: {{PORT}}
image:
repository: {{IMAGENAME}}
tag: {{IMAGETAG}}
pullPolicy: IfNotPresent
pullPolicy: Always


imagePullSecrets: []
Expand Down
6 changes: 3 additions & 3 deletions template/dockerfiles/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ ENV PORT {{PORT}}
EXPOSE {{PORT}}
WORKDIR /usr/src/app

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY requirements.tx[t] ./
RUN [ -f requirements.txt ] && pip install --no-cache-dir -r requirements.txt

COPY . .

ENTRYPOINT ["python"]
CMD ["{{ENTRYPOINT}}"]
CMD ["{{ENTRYPOINT}}"]
2 changes: 1 addition & 1 deletion test/templates/helm/charts/production.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
image:
repository: "test"
pullPolicy: IfNotPresent
pullPolicy: Always
tag: "latest"
service:
annotations: {}
Expand Down
2 changes: 1 addition & 1 deletion test/templates/helm/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ containerPort: 8080

image:
repository: test
pullPolicy: IfNotPresent
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
4 changes: 2 additions & 2 deletions test/templates/helm_prod_values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image:
repository: "prodImage"
pullPolicy: IfNotPresent
tag: "latest"
pullPolicy: Always
tag: "latest"
Loading