fix a patch files accept multiple patches#5194
fix a patch files accept multiple patches#5194k8s-ci-robot merged 11 commits intokubernetes-sigs:masterfrom
Conversation
|
Skipping CI for Draft Pull Request. |
9962a9e to
132b558
Compare
132b558 to
a761588
Compare
|
I test this function in this scenario. |
|
/assign |
|
/assign |
annasong20
left a comment
There was a problem hiding this comment.
I think we're almost there! Feedback mostly to address #5049 (comment)
|
This PR has multiple commits, and the default merge method is: merge. DetailsInstructions 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. |
2768237 to
0bb40bc
Compare
0bb40bc to
692477a
Compare
annasong20
left a comment
There was a problem hiding this comment.
Thanks for the changes and additional test, @koba1t! Apart from the document discussion, I think we're almost ready!
|
/label tide/merge-method-squash |
7595196 to
6aac386
Compare
|
@annasong20 Could you recheck this PR? |
annasong20
left a comment
There was a problem hiding this comment.
This PR looks great! Thanks for iterating on this, @koba1t!!
Other than the error message that includes "target", the rest of the comments are minor. Feel free to lgtm yourself after removing "target" or I'd be happy to take another look. Also sorry for the delay in PR review.
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: annasong20, koba1t The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Hi @annasong20 I'll merge this PR without your additional check. /lgtm |
|
@koba1t: you cannot LGTM your own PR. DetailsIn 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. |
|
Sorry, @annasong20 |
|
I"m so expecting for this PR will be merged !! |
|
It'd be great to see this get merged. We absolutely need that feature. Thanks. |
|
Looks amazing!!! Thank you SO much for carrying this PR to fruition! |
Without updating kyaml and kustomize api it's not possible to use patches containing several targets. The issue is reported as component's condition: ``` trouble configuring builtin PatchTransformer with config: ` │ path: remove-cert-manager.yaml │ `: unable to parse SM or JSON patch from [$patch: delete │ apiVersion: cert-manager.io/v1 │ kind: Issuer │ metadata: │ name: selfsigned-issuer │ namespace: kserve │ --- │ $patch: delete ``` Related issue: kubernetes-sigs/kustomize#5194 Signed-off-by: Bartosz Majsak <bartosz.majsak@gmail.com>
Without updating kyaml and kustomize api it's not possible to use patches containing several targets. The issue is reported as component's condition: ``` trouble configuring builtin PatchTransformer with config: ` │ path: remove-cert-manager.yaml │ `: unable to parse SM or JSON patch from [$patch: delete │ apiVersion: cert-manager.io/v1 │ kind: Issuer │ metadata: │ name: selfsigned-issuer │ namespace: kserve │ --- │ $patch: delete ``` Related issue: kubernetes-sigs/kustomize#5194 Signed-off-by: Bartosz Majsak <bartosz.majsak@gmail.com>
Without updating kyaml and kustomize api it's not possible to use patches containing several targets. The issue is reported as component's condition: ``` trouble configuring builtin PatchTransformer with config: ` │ path: remove-cert-manager.yaml │ `: unable to parse SM or JSON patch from [$patch: delete │ apiVersion: cert-manager.io/v1 │ kind: Issuer │ metadata: │ name: selfsigned-issuer │ namespace: kserve │ --- │ $patch: delete ``` Related issue: kubernetes-sigs/kustomize#5194 Signed-off-by: Bartosz Majsak <bartosz.majsak@gmail.com>
fix: #5049