docs: use a maintained fork for kubernetes-json-schema in the example (#3572)

The `instrumenta/kubernetes-json-schema` repo is apparently dead:
https://github.com/instrumenta/kubernetes-json-schema/issues/32#issuecomment-1021133568
And nobody has the credentials anymore to archive it:
https://github.com/instrumenta/kubeval/issues/268#issuecomment-1376490498
The recommended migration from instrumenta is to https://github.com/yannh/kubeconform,
see (https://github.com/instrumenta/kubernetes-json-schema/issues/32#issuecomment-1021133568)
and the recommended `kubernetes-json-schema` fork is also from the same new maintainer:
https://github.com/yannh/kubernetes-json-schema/

Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
This commit is contained in:
Ferenc Géczi 2025-01-21 12:21:22 +01:00 committed by GitHub
parent e118ce58da
commit 32c9817cf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,7 +64,7 @@ require('lspconfig').yamlls.setup {
yaml = {
... -- other settings. note this overrides the lspconfig defaults.
schemas = {
["https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.18.0-standalone-strict/all.json"] = "/*.k8s.yaml",
["https://raw.githubusercontent.com/yannh/kubernetes-json-schema/refs/heads/master/v1.32.1-standalone-strict/all.json"] = "/*.k8s.yaml",
... -- other schemas
},
},