mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-26 11:07:45 +00:00
Automatic merge from submit-queue (batch tested with PRs 53228, 53232, 53353). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove swagger 1.2 validation **What this PR does / why we need it**: Removes dependency on swagger 1.2 for validation. Always uses openapi. cc @mbohlool **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #44589 **Special notes for your reviewer**: **Release note**: ```release-note Kubectl: Remove swagger 1.2 validation. Also removes options `--use-openapi` and `--schema-cache-dir` as these are no longer needed. ```