From 0679f49eec99fde17ae20bd477cfaecd1b113f46 Mon Sep 17 00:00:00 2001 From: Lee Tang Date: Mon, 13 Feb 2023 11:17:08 +0800 Subject: [PATCH] update json schema Signed-off-by: Lee Tang --- nvim/lua/config/lsp-setup.lua | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/nvim/lua/config/lsp-setup.lua b/nvim/lua/config/lsp-setup.lua index 221061d..223497d 100644 --- a/nvim/lua/config/lsp-setup.lua +++ b/nvim/lua/config/lsp-setup.lua @@ -21,7 +21,22 @@ local servers = { yaml = { schemas = { ['https://json.schemastore.org/github-workflow.json'] = '/.github/workflows/*', - Kubernetes = { '/*k8s.yaml', '/*k8s.yml' }, + Kubernetes = { + '/*ingress.yaml', + '/*deployment.yaml', + '/*configmap.yaml', + '/*secret.yaml', + '/*kustomization.yaml', + '/*service.yaml', + + '/*ingress.yml', + '/*deployment.yml', + '/*configmap.yml', + '/*secret.yml', + '/*kustomization.yml', + '/*service.yml', + + }, --['https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.18.0-standalone-strict/all.json'] = '/*.k8s.yaml', }, },