yannh / kubeconform

A FAST Kubernetes manifests validator, with support for Custom Resources!
Apache License 2.0
2.16k stars 121 forks source link

Replace {group} with the full group name. #147

Open cjyar opened 1 year ago

cjyar commented 1 year ago

Kubeconform expects {{ .Group }} to be the full group name, e.g. cert-manager.io. But openapi2jsonschema.py replaces {group} with the abbreviated group name, e.g. cert-manager. Since the only purpose of the script is to make schema files for consumption by kubeconform, it seems like the script should use the full group name.

cjyar commented 1 year ago

<3 kubeconform, BTW