Skip to content

Commit 3857a22

Browse files
authored
Merge pull request #149 from Obmondo/fix/buzz-ingress-defaults
Fix/buzz ingress defaults
2 parents 32e0dcb + 7855c8b commit 3857a22

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

argocd-helm-charts/buzz/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,30 @@ operator's 64-char lowercase hex Nostr pubkey; the chart refuses to render witho
130130
fails rendering otherwise. Git state lives in object storage, so `ReadWriteOnce` volumes stay correct
131131
at any replica count — no ReadWriteMany storage is needed.
132132

133+
## Relay image
134+
135+
`image.tag` is pinned instead of inheriting `.Chart.AppVersion`. Chart 0.1.7 still declares
136+
`appVersion: 0.1.0`, and that relay predates the startup migration step: it never creates the schema,
137+
`_sqlx_migrations` is never written, and the relay then serves traffic while every query fails on a
138+
missing relation — it looks healthy and answers WebSockets, so the cause is not obvious.
139+
140+
A relay that runs migrations logs either `Database migrations complete` or `Skipping database
141+
migrations because BUZZ_AUTO_MIGRATE is not enabled` right after `Postgres connected`. Neither line
142+
means the image is too old, whatever `BUZZ_AUTO_MIGRATE` is set to.
143+
144+
Re-check the pin when bumping the chart — upstream may have realigned `appVersion` by then.
145+
146+
Verify any new tag actually exists before pinning it. GHCR's `tags/list` for this repository returns
147+
incomplete and inconsistent pages, and upstream's GitHub releases run ahead of the published relay
148+
images — `v0.5.2` is tagged in git with no image behind it. Ask the registry about a specific tag
149+
instead:
150+
151+
```sh
152+
crane manifest ghcr.io/block/buzz:<tag> >/dev/null && echo exists
153+
```
154+
155+
`0.2.0` is the newest published release image; it shares a digest with `latest`.
156+
133157
## Git storage
134158

135159
`persistence.git.enabled` is `false`, so git working space is an emptyDir. That is deliberate.

argocd-helm-charts/buzz/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ buzz:
4343
# Public wss:// URL clients dial. Also derives the ingress host and media URL.
4444
relayUrl: wss://buzz.example.com
4545

46+
# Pinned rather than inherited from the chart's appVersion, which is still
47+
# 0.1.0. That relay predates the startup migration step, so it silently leaves
48+
# the schema uncreated and every query fails on a missing relation while the
49+
# process looks healthy. See README.md.
50+
image:
51+
tag: "0.2.0"
52+
4653
# Every relay env var is read from this one Secret, and DATABASE_URL is
4754
# mandatory, so the chart-managed Secret path is unusable under ArgoCD.
4855
# README.md lists the keys.

0 commit comments

Comments
 (0)