Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Feature Request: Allow openapi references in CRD validation schema

Current Work related to validation in CRD

Comment

Issues to work upon

Related Issues

Imp PR

JSON/Open API Schema Reads

Important Reads

Problems

  • The apiextensions apiserver is not coupled to kube-apiserver right now, then how does apiextensionsapiserver know about the specs of the types of other groups? aggregrator is the only one who knows how to resolve such a reference correctly

  • Custom Resource Definitions (CRDs) are not properly deleted under certain conditions here

  • Offline work was removed here Remove client side validation in kubectl

Future Works

  1. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/aggregated-api-servers.md#future-work

Story of API-EXTENSION-SERVER

About OpenAPI

OpenAPI provides a set of objects, with a specific schema about their naming, order, and contents, that you use to describe each part of your API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment