You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bucket: cert-manager ACME http-solver resources orphaned after deletion #3060
After deleting a Bucket app CR, cert-manager's temporary ACME HTTP-01 solver resources (cm-acme-http-solver-* Ingress/Pod/Service) remain in the namespace.
Environment
Cozystack version: v1.4.0-rc.2
Provider: on-prem (bare-metal)
To Reproduce
Create a tenant with seaweedfs: true, deploy Bucket/test.
Root cause: The solver objects are created by cert-manager to answer an ACME HTTP-01 challenge and are owned by the Challenge/Order → Certificate, not by the app Ingress. If the Certificate never completes (challenge stuck) and the app is deleted, the parent Ingress is removed but the orphaned challenge leaves the solver objects without a live owner to cascade-delete them. The chart never owns them, so Helm/Flux uninstall cannot reap them. The Ingress lives in the vendored bucket-system subchart (packages/apps/bucket/templates/helmrelease.yaml:8-11).
Proposed fix (two parts):
Cleanup: post-delete hook deleting the release's Certificate/Order/Challenge (cert-manager then cascade-removes the solvers) plus a sweep:
Activity
fix(bucket): clean up orphaned cert-manager ACME solver resources on …
fix(bucket): clean up orphaned cert-manager ACME solver resources on …
fix(bucket): clean up orphaned cert-manager ACME solver resources on …
fix(harbor): clean up orphaned jobservice PVC and ACME solver resourc…