-
Notifications
You must be signed in to change notification settings - Fork 11
chore: Set imagePullPolicy to IfNotPresent #366
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
base: main
Are you sure you want to change the base?
Conversation
@@ -24,7 +24,7 @@ spec: | |||
containers: | |||
- command: | |||
- /console | |||
imagePullPolicy: Always | |||
imagePullPolicy: IfNotPresent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this isn't going to cause issues in dev environments? I.e. Now it will not re-pull the image after a change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be nice to have a small guide in the dev docs to remind us to patch this in dev, if Felix's concern applies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've changed the Makefile to set it to Always
when using make deploy
.
This is according to best practices: https://redhat-best-practices-for-k8s.github.io/guide/#k8s-best-practices-use-imagepullpolicy:-ifnotpresent In a development environment, when using 'make deploy' the pull policy is set to Always. Signed-off-by: Andrej Krejcir <[email protected]>
92094b1
to
6abd9db
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 0xFelix The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
This is according to best practices:
https://redhat-best-practices-for-k8s.github.io/guide/#k8s-best-practices-use-imagepullpolicy:-ifnotpresent
Which issue(s) this PR fixes:
Jira: https://issues.redhat.com/browse/CNV-67394
Release note: