Skip to content

push-chart-v0.5.0

@brow brow tagged this 02 Dec 14:01
Publishes push gateway chart 0.5.0, which carries the Android values
added since 0.4.0 ([#9562](https://github.com/block/buzz/pull/9562),
[#9692](https://github.com/block/buzz/pull/9692)): Android Key
Attestation enrollment and FCM wake delivery, with FCM credentials from
a service account key or AWS workload identity federation. Android stays
off unless `android.enabled` is set.

Two things change for existing deployments:
- Every render now sets `BUZZ_PUSH_SIGNED_CALL_WINDOW_SECONDS=60` and
`BUZZ_PUSH_SIGNED_CALL_MAX_CALLS=30` from the new `signedCallRateLimit`
value. They equal the gateway defaults, but the pod template changes, so
the first 0.5.0 upgrade restarts the gateway pods through the canary.
- `android.enabled` needs a gateway image built from main at or after
`5268caa8`. Earlier images that know the Android settings refuse the
renamed FCM credential variable and exit at startup, taking APNs with
them.

The chart's Android values cover IRSA. A deployment that uses EKS Pod
Identity and a ConfigMap for its credential configuration (as the
staging bpci deployment does) still patches in `AWS_REGION` and that
mount.

### Rollout

1. At merge, recheck that main's chart matches this PR's (other chart
changes landing first would ship unannounced in 0.5.0). The merge tags
`push-chart-v0.5.0` and the tag push publishes it; confirm with `helm
show chart oci://ghcr.io/block/buzz/charts/buzz-push-gateway --version
0.5.0`.
2. Bump the wrapper chart, adopt it in staging first, and enable Android
in production only after Kargo promotes a gateway image at or after
`5268caa8`.
3. With Android off, the only manifest change should be the two
rate-limit variables, plus one canary restart. With Android on, confirm
the rendered Deployment has the Android environment, send one test wake,
and check for the "first FCM access token minted" log and a rising
`push_gateway_fcm_deliveries_total{outcome="accepted"}`.
4. Rollback: re-pin chart 0.4.0, which stays published.

### Validation

`deploy/charts/buzz-push-gateway/tests/render.sh` and
`release-contract.sh` pass.

---------

Signed-off-by: Tom Brow <tomb@block.xyz>
Co-authored-by: studio <dc2fc481343672df31a689840c09299972e704dac592e0da6f18486646a7ee3e@buzz.block.builderlab.xyz>
Assets 2
Loading