This is the catalog of JSON Schemas for Kubernetes APIs and Flux CRDs,
used by the flux schema validation tool.
| Source | Version |
|---|---|
| kubernetes/kubernetes | v1.35.4 |
| kubernetes-sigs/gateway-api | v1.5.1 |
| fluxcd/flux2 | v2.8.6 |
| fluxcd/flagger | v1.43.0 |
| controlplaneio-fluxcd/flux-operator | v0.48.0 |
Extracted from the CRDs shipped by the latest stable Flux distribution, Flagger and Flux Operator.
helm.toolkit.fluxcd.io—HelmReleaseimage.toolkit.fluxcd.io—ImagePolicy,ImageRepository,ImageUpdateAutomationkustomize.toolkit.fluxcd.io—Kustomizationnotification.toolkit.fluxcd.io—Alert,Provider,Receiversource.toolkit.fluxcd.io—Bucket,ExternalArtifact,GitRepository,HelmChart,HelmRepository,OCIRepositorysource.extensions.fluxcd.io—ArtifactGeneratorflagger.app—Canary,MetricTemplate,AlertProviderfluxcd.controlplane.io—FluxInstance,FluxReport,ResourceSet,ResourceSetInputProvider
Extracted from the OpenAPI v2 swagger of the latest stable version of Kubernetes.
core— thev1API (Pod,Service,ConfigMap,Secret,Namespace, ...)apps,autoscaling,batch,extensions,policyadmission.k8s.io,admissionregistration.k8s.ioapiextensions.k8s.io,apiregistration.k8s.ioauthentication.k8s.io,authorization.k8s.iocertificates.k8s.io,coordination.k8s.iodiscovery.k8s.io,events.k8s.ioflowcontrol.apiserver.k8s.io,imagepolicy.k8s.ionetworking.k8s.io,node.k8s.iorbac.authorization.k8s.io,resource.k8s.ioscheduling.k8s.io,storage.k8s.io,storagemigration.k8s.io
Extracted from the CRDs shipped by the latest stable release of the Kubernetes Gateway API.
gateway.networking.k8s.io—Gateway,GatewayClass,GRPCRoute,HTTPRoute, etc.
If you need schemas for the Gateway API experimental channel, you can generate them with:
kubectl kustomize https://github.com/kubernetes-sigs/gateway-api/config/crd/experimental?ref=main | \
flux-schema extract crd /dev/stdin \
-d ./gwapi-experimental \
-f '{{ .Group }}/{{ .Kind }}_{{ .Version }}.json'And use them with --schema-location, before the default catalog, when validating:
flux-schema validate ./manifests \
--schema-location './gwapi-experimental/{{.Group}}/{{.Kind}}_{{.Version}}.json' \
--schema-location default