diff --git a/pkg/apis/helm.fluxcd.io/v1/types_helmrelease.go b/pkg/apis/helm.fluxcd.io/v1/types_helmrelease.go index 72feac5ea..1cb609381 100644 --- a/pkg/apis/helm.fluxcd.io/v1/types_helmrelease.go +++ b/pkg/apis/helm.fluxcd.io/v1/types_helmrelease.go @@ -498,8 +498,8 @@ const ( HelmReleasePhaseInstalling HelmReleasePhase = "Installing" // Upgrading means the upgrade for the HelmRelease is running. HelmReleasePhaseUpgrading HelmReleasePhase = "Upgrading" - // Succeeded means the installation or upgrade for the HelmRelease - // succeeded. + // Succeeded means the dry-run, installation, or upgrade for the + // HelmRelease succeeded. HelmReleasePhaseSucceeded HelmReleasePhase = "Succeeded" // Failed means the installation or upgrade for the HelmRelease // failed. diff --git a/pkg/release/release.go b/pkg/release/release.go index d1c2d1c9f..0984ab465 100644 --- a/pkg/release/release.go +++ b/pkg/release/release.go @@ -267,6 +267,7 @@ next: action = UpgradeAction goto next } + status.SetStatusPhase(r.hrClient.HelmReleases(hr.Namespace), hr, v1.HelmReleasePhaseSucceeded) logger.Log("info", "no changes", "phase", action) case InstallAction: logger.Log("info", "running installation", "phase", action)