cozystack/packages
Andrei Kvapil 2d1c8aae02
feat(platform): add flux-plunger controller
Add flux-plunger controller to automatically fix HelmRelease resources
with "has no deployed releases" error.

The controller watches HelmRelease resources and performs the following:
- Detects HelmRelease with "has no deployed releases" error
- Suspends the HelmRelease with flux-client-side-apply field manager
- Deletes the latest Helm release secret
- Updates annotation with processed version to prevent recursive deletion
- Unsuspends the HelmRelease to allow Flux to retry

Special handling for suspended HelmRelease:
- If suspend=true and latest+1==processed: removes suspend
- Otherwise: skips processing as suspended by external process

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-01-19 13:20:08 +01:00
..
apps Prepare release v1.0.0-alpha.1 2026-01-15 23:32:41 +00:00
core feat(platform): add flux-plunger controller 2026-01-19 13:20:08 +01:00
extra fix(etcd): increase probe thresholds for better recovery 2026-01-18 21:50:06 +01:00
library refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
system feat(platform): add flux-plunger controller 2026-01-19 13:20:08 +01:00
tests/cozy-lib-tests refactor: replace Helm lookup with valuesFrom mechanism 2026-01-05 16:10:55 +01:00