diff --git a/src/languageservice/utils/schemaUrls.ts b/src/languageservice/utils/schemaUrls.ts index 9ecc8e98..09a44d7f 100644 --- a/src/languageservice/utils/schemaUrls.ts +++ b/src/languageservice/utils/schemaUrls.ts @@ -3,7 +3,7 @@ import { URI } from 'vscode-uri'; import { isRelativePath, relativeToAbsolutePath } from './paths'; export const KUBERNETES_SCHEMA_URL = - 'https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.17.0-standalone-strict/all.json'; + 'https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.18.1-standalone-strict/all.json'; export const JSON_SCHEMASTORE_URL = 'https://www.schemastore.org/api/json/catalog.json'; export function checkSchemaURI(workspaceFolders: WorkspaceFolder[], workspaceRoot: URI, uri: string): string { diff --git a/test/integration.test.ts b/test/integration.test.ts index 597e5903..f67ddfb8 100644 --- a/test/integration.test.ts +++ b/test/integration.test.ts @@ -19,7 +19,7 @@ suite('Kubernetes Integration Tests', () => { let yamlSettings: SettingsState; before(() => { - const uri = 'https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.17.0-standalone-strict/all.json'; + const uri = 'https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.18.1-standalone-strict/all.json'; const fileMatch = ['*.yml', '*.yaml']; languageSettingsSetup = new ServiceSetup() .withHover()