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
Make Patcher tolerant of OpenAPIGetter being nil #122346
Make Patcher tolerant of OpenAPIGetter being nil #122346
Conversation
/assign @seans3 |
I assume that panicked cluster does not use OpenAPI v3 and fell back to v2 but I'm not sure how OpenAPIGetter can be nil. On the other hand, change looks good to me because we shouldn't panic any case; /approve /triage accepted |
LGTM label has been added. Git tree hash: b3cc8de11dd6a59bff637d5439033fa8032d514c
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ardaguclu, Jefftree, tomasaschan 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 |
/hold cancel |
…2346-upstream-release-1.29 Automated cherry pick of #122346: Make OpenAPIGetter tolerant of nil
Main motivation is to include kubernetes/kubernetes#122346
What type of PR is this?
/kind regression
What this PR does / why we need it:
Make Patcher tolerant of OpenAPIGetter being nil.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: