From 4f30de61b01e6a0682759a4f1b3ac9c3762deed1 Mon Sep 17 00:00:00 2001 From: MadMowgli <45829573+MadMowgli@users.noreply.github.com> Date: Sun, 28 Jun 2026 22:47:50 +0200 Subject: [PATCH 1/2] Bump ms-azuretools.vscode-docker to ms-azuretools.vscode-container - see https://github.com/microsoft/vscode-docker/releases/tag/v2.0.0 - fixes "Value is not accepted." error Signed-off-by: MadMowgli <45829573+MadMowgli@users.noreply.github.com> --- .devcontainer/devcontainer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c285b92..70ab352 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -67,7 +67,7 @@ "editor.quickSuggestions": { "strings": true }, - "editor.defaultFormatter": "ms-azuretools.vscode-docker" + "editor.defaultFormatter": "ms-azuretools.vscode-containers" }, "python.analysis.typeCheckingMode": "strict", "python.analysis.autoImportCompletions": true @@ -84,8 +84,8 @@ "ms-python.black-formatter", "usernamehw.errorlens", "redhat.vscode-yaml", - "ms-azuretools.vscode-docker" + "ms-azuretools.vscode-containers" ] } } -} \ No newline at end of file +} From 87e3ae13ea0a72d02e5a2459374e5e6c7a642c08 Mon Sep 17 00:00:00 2001 From: Joel Laeubin Date: Mon, 29 Jun 2026 13:33:14 +0200 Subject: [PATCH 2/2] disabling yaml schema validation for the collector config --- .devcontainer/devcontainer.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 70ab352..2662ca1 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -70,7 +70,14 @@ "editor.defaultFormatter": "ms-azuretools.vscode-containers" }, "python.analysis.typeCheckingMode": "strict", - "python.analysis.autoImportCompletions": true + "python.analysis.autoImportCompletions": true, + // disable schema validation for otel collector config files, as there's no schema available on SchemaStore yet + "yaml.schemas": { + "":[ + "**/otel-collector-config*.yaml", + "**/collector/**/*.yaml" + ] + } }, "extensions": [ "vscjava.vscode-java-pack",