Files
cozystack/packages
Yan Bondarenko 9227c2e211 fix(clickhouse, opensearch): reap finished cleanup Jobs
The post-delete PVC cleanup Jobs of ClickHouse and OpenSearch keep only
before-hook-creation, so a failed run stays for post-mortem. Helm drops
the hook once the release is gone, and nothing else deletes the Job, so
every deleted instance leaves a Completed <release>-cleanup Job and its
pod in the tenant namespace for good; on the cluster the oldest had sat
there for 85 days.

Set ttlSecondsAfterFinished to a day, as pre-delete-unpin in
kubernetes-nodes does, so a succeeded run is reaped and a failed one
still keeps its logs long enough to read.

Assisted-by: LLM
Signed-off-by: Yan Bondarenko <202671653+yankawai@users.noreply.github.com>
2026-12-01 19:33:36 +01:00
..
2026-11-27 18:34:40 +05:00