Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from mbohlool/bugfix
Bugfix in MergeSpecsIgnorePathConflict kubectl OpenAPI support kubectl OpenAPI bazel updates Print a newline after ginkgo tests so the test infra doesn't think that they fail Fixes #45279 Make OpenAPI GVK and Action extensions all lower-case Get cmd uses print-column extn from Openapi schema Get command now uses metadata x-kubernetes-print-columns, if present, in Openapi schema to format output for a resource. This functionality is guarded by a boolean flag 'use-openapi-print-columns'. manually fix kubectl openapi unit test openapi: Fetch protobuf rather than Json This is much faster. openapi: refactor into more generic structure Refactor the openapi schema to be a more generic structure that can be "visited" to get more specific types. openapi: Remove cache mechanism The cache will be removed and replaced with HTTP Etag caching instead. This patch is simply removing the existing mechanism. Revert "Merge pull request #47353 from apelisse/http-cache" This reverts commit fc89743dca6b563063b74728c3b28100cf674d9d, reversing changes made to 29ab38e898988c36e2de34f77fa33be556eb21bd. Autogenerate BUILD files Use buildozer to remove deprecated automanaged tags Use buildozer to delete licenses() rules except under third_party/ openapi: Move Fakes to testing package openapi: Add validation logic This allows validation of a yaml/json object against an openapi schema. A lot more testing would be needed to validate the logic, and also this is not plumbed in, so it can't be used by kubectl yet. Validate against OpenAPI schema (if available) openapi: Use "group" to look for resources openapi: Handle properly empty/null fileds openapi-validation: Handle List special case openapi validation: Ignore unknown types This follows the exact same logic as swagger. openapi: Change reference to be first-class References in the openapi are currently completely hidden from the model, and just passed through as we walk the tree. The problem is that they can have a different description and more importantly, different extensions. Change them to be first-class citizen, and fully part of the model. It means that visitors have to implement one more function and decide if something specific should be done with references. Validation is updated to just completely ignore them and passthrough (like it was done before). update pkg to not depend on other k8s repo
- Loading branch information