-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Fix image updater overreach #5258
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mgazza The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @mgazza! |
Hi @mgazza. 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. |
Stop image updater erroring when encountering fields named image but are not what it expects closes kubernetes-sigs#5257
/assign |
/ok-to-test |
@Aisuko: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
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. |
/test |
@Aisuko: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
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. |
@mgazza Thanks for initiating a fix! The problem is I can see users having the opposite problem as #5257. They expect the transformation to have applied when Kustomize does not throw an error, but are surprised to learn that Kustomize failed silently. I think the correct course of action is to announce that Will leave this PR open for discussion, but if you agree, please close. |
I agree, however, I think deprecation may take some time to reach my use case. Can we instead of erroring out in the meantime log a warning? |
@mgazza Changing the error to a warning will be a breaking change and will still have all the unintended consequences that @annasong20 described in #5258 (comment). I empathize with your use case, but it seems like an unfortunate (and seemingly uncommon) edge case, and I don't think that there is a good reason here to break others' workflows and cause confusion. We briefly considered maybe making this a configurable option, but if we do that we would have to add, review, document, and then eventually also deprecate the new option. This would be just as much work if not more work than just completing #5325. We already have a path forward here (#5325), and if you'd like that to move forward you can contribute to it directly. It is not a super big issue and shouldn't be more than 1-2 weeks of dedicated work, so I feel that it doesn't make sense to try to find quick fixes to work around it. Yes, it will take time to see it through to the end, but I would much rather have us spend a month fixing the issue the right way, than introduce a UX-impacting quick fix that has unintended consequences that take us many months to undo. |
Stop image updater erroring when encountering fields named image but are not what it expects
closes #5257