Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Skip publishing OpenAPI when spec.preserveUnknownFields is true #82666
What type of PR is this?
What this PR does / why we need it:
Manual pick of part of #82653
Does this PR introduce a user-facing change?:
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: liggitt
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@liggitt this pull was actually breaking backward-compatibility of openapi-publishing feature. before v1.15.3, we were able to published openapi spec for those CRDs disabled prunning, but this commit tighten the scope that only CRDs enabled pruning can be published :( we should keep compatibility between patch releases (just got burnt by this)