ha/matter: remove completed HAOS migration-seed init containers #74

Merged
k.renner merged 1 commits from drop-haos-migration-seeds into master 2026-06-27 10:37:59 +00:00
Owner

Tier 2c — the last nas-1/Garage tendril in the app layer.

The seed initContainers in home-assistant and matter-server were one-shot migration importers that streamed the HAOS backup from s3://k8s-migration on the nas-1 Garage S3. The migration is complete (live pods carry the idempotency sentinels and skip the seed), nas-1 is now off, and k8s-migration doesn't exist on Hetzner — so on a fresh PVC the seed would hang the pod in Init. DR restore is via Velero now.

Removed:

  • home-assistant: seed initContainer.
  • matter-server: seed initContainer + its import-script volume.
  • garage-migration-creds Secret (migration-only S3 creds) + HA kustomization ref.
  • matter-server-haos-import-script ConfigMap + matter kustomization ref.
  • matter-server Flux dependsOn: home-assistant (existed solely so the seed could mount garage-migration-creds; matter is now independent).

Kept: home-assistant-backup-password Secret — it's the HA backup-encryption credential, not migration scaffolding.

Note: applying this rolls the HA and matter-server pods once (brief blip) as the init container drops out; the sentinel-guarded seed was already a no-op on the live pods.

🤖 Generated with Claude Code

Tier 2c — the last nas-1/Garage tendril in the app layer. The `seed` initContainers in **home-assistant** and **matter-server** were one-shot migration importers that streamed the HAOS backup from `s3://k8s-migration` on the nas-1 Garage S3. The migration is complete (live pods carry the idempotency sentinels and skip the seed), nas-1 is now off, and `k8s-migration` doesn't exist on Hetzner — so on a **fresh PVC the seed would hang the pod in Init**. DR restore is via Velero now. Removed: - home-assistant: `seed` initContainer. - matter-server: `seed` initContainer + its `import-script` volume. - `garage-migration-creds` Secret (migration-only S3 creds) + HA kustomization ref. - `matter-server-haos-import-script` ConfigMap + matter kustomization ref. - matter-server Flux `dependsOn: home-assistant` (existed solely so the seed could mount `garage-migration-creds`; matter is now independent). **Kept:** `home-assistant-backup-password` Secret — it's the HA backup-encryption credential, not migration scaffolding. Note: applying this rolls the HA and matter-server pods once (brief blip) as the init container drops out; the sentinel-guarded seed was already a no-op on the live pods. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
k.renner added 1 commit 2026-06-27 10:28:44 +00:00
The `seed` initContainers in home-assistant and matter-server were
one-shot migration importers that streamed the HAOS backup from
s3://k8s-migration on the nas-1 Garage S3. The migration is done (live
pods carry the idempotency sentinels and skip the seed), nas-1 is now
off, and the k8s-migration bucket doesn't exist on Hetzner — so on a
fresh PVC the seed would hang the pod in Init. DR restore is via Velero.

Removed:
- home-assistant: seed initContainer.
- matter-server: seed initContainer + its import-script volume.
- garage-migration-creds Secret (migration-only S3 creds) + HA kustomization ref.
- matter-server-haos-import-script ConfigMap + matter kustomization ref.
- matter-server Flux Kustomization dependsOn: home-assistant (it existed
  solely so the seed could mount garage-migration-creds; matter is now
  independent).

Kept: home-assistant-backup-password Secret — it's the HA backup
encryption credential, not migration scaffolding.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
k.renner merged commit 41ba8f9f72 into master 2026-06-27 10:37:59 +00:00
Sign in to join this conversation.