🐛 Fix bug while setting status for deprecated fields#13336
🐛 Fix bug while setting status for deprecated fields#13336k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
Conversation
|
/cc @sbueringer |
|
Thx! |
|
LGTM label has been added. DetailsGit tree hash: dabd5e8a80a14f6d1efaf914cdfc88334ffc828d |
|
Makes sense, thank you! Please note that while this fix makes sense, it won't lead to patchHelper detecting v1beta2 paths correctly. I think you have to additionally pass in the Metav1ConditionsFieldPath & Clusterv1ConditionsFieldPath options (which might be already your plan anyway :)) /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer 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 |
|
/cherry-pick release-1.12 |
|
/cherry-pick release-1.11 |
|
@sbueringer: once the present PR merges, I will cherry-pick it on top of 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-sigs/prow repository. |
|
@sbueringer: once the present PR merges, I will cherry-pick it on top of 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-sigs/prow repository. |
|
@sbueringer: new pull request created: #13344 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-sigs/prow repository. |
|
@sbueringer: new pull request created: #13345 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-sigs/prow repository. |
What this PR does / why we need it:
While setting the deprecated conditions for object where the deprecated condition field is not in standard path (status.deprecated.v1beta1) but instead at different path(status.deprecated.v1beta2) for whatsoever reason we end up hitting below error
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #