Chart 0.1.6 default image predates auto-migrate — out-of-box install crash-loops on a fresh external Postgres
Environment
- Chart:
oci://ghcr.io/block/buzz/charts/buzz0.1.6,image.tagunset → falls back toappVersion: "0.1.0"→ghcr.io/block/buzz:0.1.0(=sha-1fa63ba,1fa63badad…) - Values: bundled Postgres/Redis disabled,
externalPostgresqlviasecrets.existingSecret, fresh empty database
What happens
The chart sets BUZZ_AUTO_MIGRATE=true by default (migrate.autoMigrate,
values.yaml) and its deployment template renders the env var — but the
default image predates the auto-migrate feature (#988,
2300248d…), so the env is silently ignored. Against a fresh database the
relay crash-loops:
INFO Postgres connected
ERROR Failed to ensure partitions: … relation "events" does not exist
Error: Failed to bootstrap relay owner (required when BUZZ_REQUIRE_RELAY_MEMBERSHIP=true): … relation "relay_members" does not exist
No migration log line at all (neither "complete", "skipping", nor an error) — which makes the root cause non-obvious: the chart looks configured to migrate.
Proposal
- Bump the chart's
appVersion(or defaultimage.tag) to a post-#988 image so the out-of-box install self-migrates, OR - Have the chart fail fast (
failin_validate.tpl) whenmigrate.autoMigrate=truewith a known-incompatible default image, OR at minimum - Document the minimum image for
migrate.autoMigratein values.yaml.
Related observation while debugging: the chart's serviceMonitor.enabled
assumes prometheus-operator CRDs, which GKE (Managed Prometheus) clusters
don't have — helm install fails with "no matches for kind ServiceMonitor".
A PodMonitoring alternative (or a values note) would help GKE deployers.
Confirmed this remains reproducible with the latest published chart 0.1.7 and its default relay image 0.1.0.
Verified artifact set:
- chart:
oci://ghcr.io/block/buzz/charts/buzz:0.1.7 - chart OCI digest:
sha256:2cfedd09f20902c84afdefadf838f2975c19de5b15eea6c63e7d0d5f666171a3 - relay image:
ghcr.io/block/buzz:0.1.0 - relay index digest:
sha256:e7f25874ef10581485d4c548f3f1cf76f986aeffbfafee00bcb8edc2855dedea - fresh bundled PostgreSQL/Redis/MinIO quickstart
- rendered relay env included
BUZZ_AUTO_MIGRATE=true
Observed relay sequence:
INFO Postgres connected
ERROR Failed to ensure partitions: ... relation "events" does not exist
ERROR Fatal: failed to bootstrap relay owner ... relation "relay_members" does not exist
There was no migration-complete, migration-skipped, or migration-failed log line. PostgreSQL, Redis, MinIO, the bucket initializer, and all persistent claims were healthy; only the relay crash-looped. The failed no-data test installation was removed afterward.
This confirms the original report applies unchanged to chart 0.1.7. We are separately qualifying the official ghcr.io/block/buzz:0.2.1 relay as an explicit override in a disposable environment; that should not be interpreted as fixing the chart default.