ingress-controller
ingress-controller copied to clipboard
[P3] Publish Settings CRD to schemastore
Is your feature request related to a problem? Please describe.
IDEs such as VSCode provide syntax and help for known file formats, including Kubernetes objects.
It would be useful to provide contextual help to users of the Pomerium Settings CRD, as we already have a detailed OpenAPI schema definition.
Describe the solution you'd like
VSCode and numerous other IDEs automatically pick up schemas from https://www.schemastore.org/json/
We need create a CI job that extracts the OpenAPI
section of the CRD, converts it to JSON Schema using i.e. https://www.npmjs.com/package/@openapi-contrib/openapi-schema-to-json-schema and create a PR to schemastore GitHub repo, every time a release is made to the ingress controller.