Skip to content

[M3] Distinguish release status on upgrade vs fresh install #48

Description

@GaTTGeng

Problem

In HelmClient.UpgradeInstallAsync, the release record is always saved with Status = "deployed" regardless of whether it's a fresh install or an upgrade. Helm CLI differentiates behavior here — e.g., the previous release record transitions to superseded on upgrade.

Current code

Status = "deployed",  // same for both install and upgrade

Expected

  • On upgrade: set previous revision's status to superseded, then save the new revision as deployed.
  • On fresh install: save as deployed (current behavior is correct for this case).

Context

Identified during 1.0.2 release review. This is a Release Lifecycle concern (M3) and does not block the patch release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions