Files
aeternalis/deploy/chart/templates
dingoandClaude Sonnet 5 d594db7417 fix: restore missing newline between per-world manifests in worlds.yaml
Re-applying the independently-diagnosed Helm bug fix that got reverted
along with everything else a few rounds back (flagged at the time that
CI would hit this again the moment it wasn't reapplied -- it just did).

helm lint deploy/chart (the default 5-world values.yaml) fails:
  templates/worlds.yaml: unable to parse YAML: error converting YAML
  to JSON: yaml: line 24: did not find expected key

Root cause (confirmed earlier via `helm template --debug` on the raw,
pre-parse output): the per-world loop's `{{- $host := ... -}}` line has
a leading whitespace-trim that eats the one newline separating one
world's rendered manifests from the next world's "---" separator, so
consecutive iterations run together as "...port: { name: http } }---
apiVersion: apps/v1" with no newline -- invalid YAML. values-srs.yaml
only has one world, so the loop never repeats and never trips this;
the default values.yaml has five.

Fix: drop the leading trim (`{{-` -> `{{`) on just that line, so the
one separating newline survives.

Verified with the same helm v4.2.4 CI uses: `helm lint`/`helm template`
clean against both deploy/chart's default values (5 worlds) and
-f deploy/values-srs.yaml (1 world); rendered manifests for all 5
worlds look correct.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 14:15:59 -04:00
..