From 826b9553f24a08c1f3077f85d0bf3d8c20d5fb19 Mon Sep 17 00:00:00 2001 From: Charlie Le Date: Mon, 29 Sep 2025 11:55:18 -0700 Subject: [PATCH] Update example cortex configs with yaml-language-server Signed-off-by: Charlie Le --- docs/configuration/single-process-config-blocks-gossip-1.yaml | 2 +- docs/configuration/single-process-config-blocks-gossip-2.yaml | 2 +- docs/configuration/single-process-config-blocks-local.yaml | 2 +- docs/configuration/single-process-config-blocks-tls.yaml | 2 +- docs/getting-started/cortex-config.yaml | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/configuration/single-process-config-blocks-gossip-1.yaml b/docs/configuration/single-process-config-blocks-gossip-1.yaml index 7c7b3b515ac..bf020fd9c94 100644 --- a/docs/configuration/single-process-config-blocks-gossip-1.yaml +++ b/docs/configuration/single-process-config-blocks-gossip-1.yaml @@ -1,4 +1,4 @@ - +# yaml-language-server: $schema=https://raw.githubusercontent.com/cortexproject/cortex/master/schemas/cortex-config-schema.json # Configuration for running Cortex in single-process mode. # This should not be used in production. It is only for getting started # and development. diff --git a/docs/configuration/single-process-config-blocks-gossip-2.yaml b/docs/configuration/single-process-config-blocks-gossip-2.yaml index 54dbf79548b..44238df4fdf 100644 --- a/docs/configuration/single-process-config-blocks-gossip-2.yaml +++ b/docs/configuration/single-process-config-blocks-gossip-2.yaml @@ -1,4 +1,4 @@ - +# yaml-language-server: $schema=https://raw.githubusercontent.com/cortexproject/cortex/master/schemas/cortex-config-schema.json # Configuration for running Cortex in single-process mode. # This should not be used in production. It is only for getting started # and development. diff --git a/docs/configuration/single-process-config-blocks-local.yaml b/docs/configuration/single-process-config-blocks-local.yaml index c6b97ae0edf..d6887dd7539 100644 --- a/docs/configuration/single-process-config-blocks-local.yaml +++ b/docs/configuration/single-process-config-blocks-local.yaml @@ -1,4 +1,4 @@ - +# yaml-language-server: $schema=https://raw.githubusercontent.com/cortexproject/cortex/master/schemas/cortex-config-schema.json # Configuration for running Cortex in single-process mode. # This should not be used in production. It is only for getting started # and development. diff --git a/docs/configuration/single-process-config-blocks-tls.yaml b/docs/configuration/single-process-config-blocks-tls.yaml index 352bf7c8a00..8e18ce9bf54 100644 --- a/docs/configuration/single-process-config-blocks-tls.yaml +++ b/docs/configuration/single-process-config-blocks-tls.yaml @@ -1,4 +1,4 @@ - +# yaml-language-server: $schema=https://raw.githubusercontent.com/cortexproject/cortex/master/schemas/cortex-config-schema.json # Configuration for running Cortex in single-process mode. # This should not be used in production. It is only for getting started # and development. diff --git a/docs/getting-started/cortex-config.yaml b/docs/getting-started/cortex-config.yaml index 6795ca6a2fb..1b24084ad3f 100644 --- a/docs/getting-started/cortex-config.yaml +++ b/docs/getting-started/cortex-config.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/cortexproject/cortex/master/schemas/cortex-config-schema.json # Configuration for running Cortex in single-process mode. # This should not be used in production. It is only for getting started # and development.