kubernetes-json-schema

A repo to host custom resource definitions to be use with kubeval. Fixes this issue.

kubeval --additional-schema-locations https://raw.githubusercontent.com/adobe-platform/kubernetes-json-schema/master -d .

Forked from https://github.com/joshuaspence/kubernetes-json-schema

CRD's currently supported:

  • argo-cd, argo-rollouts, argo-workflows
  • azure-service-operator
  • cert-manager
  • cilium
  • contour (adobe fork)
  • helm-operator
  • istio
  • prometheus-operator
  • ack dynamodb- and elasticache controllers
  • elasticsearch opertator
  • vault-secrets-operator

How to update

  1. Add line(s) to build.sh with with additional items as desired

  2. Build docker image docker build -t 'ksj-schema' .

  3. Run mounting local files docker run --rm -it --mount type=bind,source="$(pwd)",target=/working ksj-schema /working/build.sh