mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 22:13:18 +09:00
The cozy-installer chart declares Namespace cozy-system itself (with helm.sh/resource-policy: keep). Combining that with --create-namespace makes Helm v3 pre-create the namespace via plain kubectl-create (without helm annotations); the subsequent chart apply then fails with 'namespaces cozy-system already exists'. The 3x retry on Install Cozystack was hiding this. First attempt failed, second saw 'release exists' and treated it as upgrade. Reproducible across PRs (PR #2507 E2E hit the same first-attempt failure today and recovered on retry). Surfaced cleanly after dropping the retry on this step. Drop --create-namespace; let the chart manage its own namespace. Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>