diff --git a/pkg/apis/rainbond/v1alpha1/helmapp_types.go b/pkg/apis/rainbond/v1alpha1/helmapp_types.go index 040ce8689..8b95cdca1 100644 --- a/pkg/apis/rainbond/v1alpha1/helmapp_types.go +++ b/pkg/apis/rainbond/v1alpha1/helmapp_types.go @@ -29,6 +29,7 @@ const ( HelmAppStatusPhaseInitialing HelmAppStatusPhase = "initialing" HelmAppStatusPhaseDetecting HelmAppStatusPhase = "detecting" HelmAppStatusPhaseConfiguring HelmAppStatusPhase = "configuring" + HelmAppStatusPhaseInstalling HelmAppStatusPhase = "installing" HelmAppStatusPhaseInstalled HelmAppStatusPhase = "installed" ) diff --git a/worker/controllers/helmapp/status.go b/worker/controllers/helmapp/status.go index 7be289feb..f1fddb424 100644 --- a/worker/controllers/helmapp/status.go +++ b/worker/controllers/helmapp/status.go @@ -48,6 +48,9 @@ func (s *Status) getPhase() v1alpha1.HelmAppStatusPhase { phase = v1alpha1.HelmAppStatusPhaseConfiguring } if s.values != "" { + phase = v1alpha1.HelmAppStatusPhaseInstalling + } + if s.values == s.CurrentValues { phase = v1alpha1.HelmAppStatusPhaseInstalled } return phase