From 32c9817cf0b507ca18dd49ee11db9f804a99e341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20G=C3=A9czi?= Date: Tue, 21 Jan 2025 12:21:22 +0100 Subject: [PATCH] docs: use a maintained fork for `kubernetes-json-schema` in the example (#3572) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- lua/lspconfig/configs/yamlls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lspconfig/configs/yamlls.lua b/lua/lspconfig/configs/yamlls.lua index 10b8661640..f3392a6be9 100644 --- a/lua/lspconfig/configs/yamlls.lua +++ b/lua/lspconfig/configs/yamlls.lua @@ -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 }, },