From 1bf4060a8a0592fc7ed52c30e7188eb4680d6cd3 Mon Sep 17 00:00:00 2001 From: Tony Pai Date: Sun, 31 Jan 2021 22:27:51 +0800 Subject: [PATCH] Update kubernetes schema to 1.18.1 --- src/languageservice/utils/schemaUrls.ts | 2 +- test/integration.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()