Skip to content

Feature Request: Migrate Fleet to Helm v4 #4351

@thardeck

Description

@thardeck

Is your feature request related to a problem?

Fleet currently uses the Helm v3 SDK for deploying and managing Kubernetes applications through GitOps. Helm v4 was released with improvements and breaking API changes that require Fleet to migrate from v3 to v4. Staying on Helm v3 means:

  • Missing out on Helm v4's improved client-side apply algorithm that better handles drift correction for complex resources
  • Potential security vulnerabilities as Helm v3 will eventually reach end-of-life
  • Inability to leverage new Helm v4 features and performance improvements
  • Growing technical debt as the ecosystem moves to v4

Solution you'd like

Upgrade Fleet's Helm SDK dependency from v3 to v4 and adapt all Fleet code to work with Helm v4's breaking API changes.

Alternatives you've considered

  1. Stay on Helm v3: Not viable long-term due to eventual EOL and missing improvements
  2. Gradual migration with feature flags: Overly complex and would require maintaining both v3 and v4 code paths
  3. Fork Helm v3: Would require significant maintenance burden and miss community improvements

Anything else?

PR Implementation: #4326

Follow-up Questions:

  1. Should Fleet maintain the Atomic option name or adopt Helm's RollbackOnFailure naming? (Currently auto-mapped)
  2. Should Fleet maintain the Force option name or adopt Helm's ForceReplace naming? (Currently auto-mapped)
  3. Should Fleet support OCI digest-based chart installations (e.g., oci://registry.example.com/charts/app@sha256:abc123...)?

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Needs QA review

Relationships

None yet

Development

No branches or pull requests

Issue actions