zapier / kubechecks

Check your Kubernetes changes before they hit the cluster
https://kubechecks.readthedocs.io/en/latest/
Mozilla Public License 2.0
132 stars 6 forks source link

Kubeconform Alternate schema locations #234

Open s3than opened 1 week ago

s3than commented 1 week ago

:wave:

I'm looking at adding this as a schema location

$ kubeconform -schema-location default -schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json' [MANIFEST]

I notice however that the ability to add additional schema locations is tied to the following

https://github.com/zapier/kubechecks/blob/main/pkg/checks/kubeconform/validate.go#L60C1-L62C30

Thank you

s3than commented 1 week ago

An alternative would be to enable the addition of this repo https://github.com/datreeio/CRDs-catalog by flag etc :bow:

pauloconnor commented 5 days ago

Duplicate of https://github.com/zapier/kubechecks/issues/169 ?