chart: refuse to render without an explicit namespace

Helm falls back to the "default" namespace when --namespace is omitted, so a
forgotten flag (or a Kustomize helmCharts entry without namespace) silently
deployed into the wrong place. Render the namespace through one helper that
fails on an empty or implicit "default" namespace, with allowDefaultNamespace
as an explicit opt-in.

scripts/check-chart.sh lints the chart, asserts every namespaced resource
carries the passed namespace, and checks both failure and opt-in paths. CI runs
it instead of the plain template call.

Bump the chart to 0.2.1.
This commit is contained in:
TapTap committed 2026-11-14 21:59:48 +00:00
1 parent 0cd0b9582d
commit 8e87fed93f
11 files changed
+120 -10

No files matched your search

+1 -1
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: audiomanager
description: Self-hosted OpenSubsonic music server
type: application
version: 0.2.0
version: 0.2.1
appVersion: "0.1.0"