-
Notifications
You must be signed in to change notification settings - Fork 621
enhancement: change default imagePullPolicy for gateway-api-admission-server to IfNotPresent #2215
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
enhancement: change default imagePullPolicy for gateway-api-admission-server to IfNotPresent #2215
Conversation
…-server to IfNotPresent
|
Welcome @networkhermit! |
|
Hi @networkhermit. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
shaneutt
left a comment
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.
To me this makes perfect sense as Always can be wasteful in some situations, but disruptive or breaking in others (e.g. network restricted environments as the author had alluded to).
/approve
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: networkhermit, shaneutt 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 type of PR is this?
/kind feature
What this PR does / why we need it:
gateway-api/config/webhook/admission_webhook.yaml
Lines 58 to 60 in 4597f0e
Currently the default imagePullPolicy for webhook in standard-install.yaml is
Always, which is not strictly needed as the image tag is semver (v0.7.1).Change the imagePullPolicy to
IfNotPresenthelps air-gapped / restricted environment, and script in this repo are already use the kustomize hack to override the default.As a side note, the build-install-yaml.sh release script is simply some file copying logic, it does not use kustomize or unsupported helm template.
Edited:
Two Jobs in standard-install.yaml already uses
IfNotPresent, so it also makes sense to keep it consistent.Which issue(s) this PR fixes:
Fixes #2214
Does this PR introduce a user-facing change?: