From 66804bf3cd2254dcc78f8d16ff059e69e8df9707 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Tue, 18 Aug 2026 13:06:40 -0400 Subject: [PATCH] fix(chart): keep the routes example out of the targets schema description helm-schema attaches trailing comment lines to the following key's description, so the alertmanager route example leaked into config.targets in values.schema.json. A blank line after the example block stops that. Signed-off-by: Devin Buhl --- charts/chaski/values.schema.json | 2 +- charts/chaski/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/chaski/values.schema.json b/charts/chaski/values.schema.json index 61274a8..0b888a2 100644 --- a/charts/chaski/values.schema.json +++ b/charts/chaski/values.schema.json @@ -157,7 +157,7 @@ "type": "integer" }, "targets": { - "description": " alertmanager:\n target: pushover\n whenExpr: 'payload.status == \"firing\"'\n title: '🔥 {{ .payload.commonLabels.alertname }}'\n message: '{{ .payload.commonAnnotations.summary }}'\n params: { priority: '2' }\nTarget (sink) definitions, keyed by name. Each is exactly one of `apprise:` or `http:`. Credentials belong in `{{ env \"VAR\" }}` references resolved from the environment (see `auth`/`envFrom`), never inline.", + "description": "Target (sink) definitions, keyed by name. Each is exactly one of `apprise:` or `http:`. Credentials belong in `{{ env \"VAR\" }}` references resolved from the environment (see `auth`/`envFrom`), never inline.", "required": [], "title": "targets", "type": "object" diff --git a/charts/chaski/values.yaml b/charts/chaski/values.yaml index 5dceb71..a7525ad 100644 --- a/charts/chaski/values.yaml +++ b/charts/chaski/values.yaml @@ -82,6 +82,7 @@ config: # title: '🔥 {{ .payload.commonLabels.alertname }}' # message: '{{ .payload.commonAnnotations.summary }}' # params: { priority: '2' } + # -- Target (sink) definitions, keyed by name. Each is exactly one of `apprise:` or `http:`. Credentials belong in `{{ env "VAR" }}` references resolved from the environment (see `auth`/`envFrom`), never inline. targets: {} # pushover: