cozystack/packages
Myasnikov Daniil 72efe285c9
fix(platform): migrate ACME HTTP-01 to ingressClassName API
ClusterIssuer solver referenced IngressClass "nginx" which does not
exist on cozystack clusters — real classes are named after tenant
namespaces (e.g. tenant-root). Cert issuance only worked because every
requesting Ingress overrode the ClusterIssuer via the legacy
acme.cert-manager.io/http01-ingress-class annotation.

Switch both sides to the modern cert-manager API (available since
cert-manager 1.12; cozystack ships 1.19.3):

- ClusterIssuer: http01.ingress.ingressClassName, value parameterized
  from _cluster.expose-ingress (default "tenant-root")
- Ingress annotation: http01-ingress-ingressclassname

These must migrate together — mixing ingressClassName (ClusterIssuer)
with the old http01-ingress-class annotation triggers cert-manager's
"fields ingressClassName and class cannot be set at the same time"
validation and breaks issuance.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
(cherry picked from commit 2b6e20cc3f)
2026-04-21 18:45:00 +05:00
..
apps fix(platform): migrate ACME HTTP-01 to ingressClassName API 2026-04-21 18:45:00 +05:00
core Prepare release v1.1.6 2026-04-13 14:53:11 +00:00
extra fix(platform): migrate ACME HTTP-01 to ingressClassName API 2026-04-21 18:45:00 +05:00
library refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
system fix(platform): migrate ACME HTTP-01 to ingressClassName API 2026-04-21 18:45:00 +05:00
tests/cozy-lib-tests refactor: replace Helm lookup with valuesFrom mechanism 2026-01-05 16:10:55 +01:00