Skip to content

Instantly share code, notes, and snippets.

@anubhakushwaha
Last active March 25, 2018 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anubhakushwaha/efde5b9b760e6e4ffd34db24f3160cb0 to your computer and use it in GitHub Desktop.
Save anubhakushwaha/efde5b9b760e6e4ffd34db24f3160cb0 to your computer and use it in GitHub Desktop.
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