mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-29 18:27:58 +08:00
helm app installing
This commit is contained in:
parent
790dccd84f
commit
e4f495dcd3
@ -29,6 +29,7 @@ const (
|
||||
HelmAppStatusPhaseInitialing HelmAppStatusPhase = "initialing"
|
||||
HelmAppStatusPhaseDetecting HelmAppStatusPhase = "detecting"
|
||||
HelmAppStatusPhaseConfiguring HelmAppStatusPhase = "configuring"
|
||||
HelmAppStatusPhaseInstalling HelmAppStatusPhase = "installing"
|
||||
HelmAppStatusPhaseInstalled HelmAppStatusPhase = "installed"
|
||||
)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user