vipyrsec / infrastructure

Our infrastructure
MIT License
0 stars 1 forks source link

`azure/k8s-lint` can't find the metadata schema to validate against #29

Closed shenanigansd closed 10 months ago

shenanigansd commented 1 year ago

Summary

The azure/k8s-lint action is currently failing with ERR - kubernetes/manifests/cert-manager/cluster_issuer.yaml: Failed initializing schema https://kubernetesjsonschema.dev/master-standalone/clusterissuer-cert-manager-v1.json: Could not read schema from HTTP, response status is 404 Not Found.

Hypothesis

Absolutely no idea I don't understand how this works yet.

Robin5605 commented 11 months ago

The azure/k8s-lint repository had a commit https://github.com/Azure/k8s-lint/commit/3b7cb68584cd614174f4e2dad0b6d48dbf651ccc migrating away from kubeval on July 25th, while the release we're on (v2.0) is from February 3rd. This error might have to do with kubeval being deprecated in favour of kubeconform.

shenanigansd commented 10 months ago

Was this solved by #37 ?

sid-maddy commented 10 months ago

Was this solved by #37 ?

Yep.