Files
cozystack/packages
Andrei Kvapil 9d8fcf1db5 feat(cozy-lib): add helpers for pinning endpoints to reserved external IPs
The address substrate from cozystack/community#35 lets a tenant hold an IP
across a workload rebuild, and a workload consumes that reservation through a
single annotation on the LoadBalancer Service that should wear the address.
Every catalog chart needs to emit the same annotation, but each engine takes
Service annotations in a different place, so without a shared helper the key
would be spelled out once per chart.

The naming of the kinds and the API group is still open on #35, so the key is
expected to move. Writing it down once keeps that a one-line change instead of
a sweep across the catalog.

Rendering fails on a malformed externalIPs value rather than dropping it: a
typo in a claim name is the difference between the address a customer
allow-listed and some other address, and an install-time error is far more
visible than a Service that quietly came up on the wrong IP.

Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-09-11 20:14:27 +02:00
..