From fe1ba0af94cfe7b576dabae9cbdcb23cc65b980f Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 13 Mar 2026 11:09:03 -0400 Subject: [PATCH] Update Kubernetes schema to 1.33 The oldest supported Kubernetes version is 1.33, so I've updated the referenced schema to 1.33. Signed-off-by: David Thompson --- src/languageservice/utils/schemaUrls.ts | 2 +- test/autoCompletionFix.test.ts | 2 +- test/integration.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/languageservice/utils/schemaUrls.ts b/src/languageservice/utils/schemaUrls.ts index 82c5aa118..9d5c77260 100644 --- a/src/languageservice/utils/schemaUrls.ts +++ b/src/languageservice/utils/schemaUrls.ts @@ -6,7 +6,7 @@ import { isBoolean } from './objects'; import { isRelativePath, relativeToAbsolutePath } from './paths'; export const KUBERNETES_SCHEMA_URL = - 'https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.32.1-standalone-strict/all.json'; + 'https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.9-standalone-strict/all.json'; export const JSON_SCHEMASTORE_URL = 'https://www.schemastore.org/api/json/catalog.json'; export const CRD_CATALOG_URL = 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/main'; diff --git a/test/autoCompletionFix.test.ts b/test/autoCompletionFix.test.ts index adf2124b9..28406935c 100644 --- a/test/autoCompletionFix.test.ts +++ b/test/autoCompletionFix.test.ts @@ -28,7 +28,7 @@ describe('Auto Completion Fix Tests', () => { let schemaProvider: TestCustomSchemaProvider; before(() => { languageSettingsSetup = new ServiceSetup().withCompletion().withSchemaFileMatch({ - uri: 'https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.32.1-standalone-strict/all.json', + uri: 'https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.9-standalone-strict/all.json', fileMatch: [SCHEMA_ID], }); const { diff --git a/test/integration.test.ts b/test/integration.test.ts index ffa8751a7..563299a45 100644 --- a/test/integration.test.ts +++ b/test/integration.test.ts @@ -18,7 +18,7 @@ describe('Kubernetes Integration Tests', () => { let yamlSettings: SettingsState; before(() => { - const uri = 'https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.32.1-standalone-strict/all.json'; + const uri = 'https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.9-standalone-strict/all.json'; const fileMatch = ['*.yml', '*.yaml']; languageSettingsSetup = new ServiceSetup() .withHover()