Uninstall

This commit is contained in:
admju
2024-09-02 11:43:11 +00:00
parent 4ae5926b01
commit 11f56722f7
9 changed files with 241 additions and 134 deletions

View File

@@ -88,6 +88,14 @@ func (this HelmChart) Uninstall() (string, error) {
log.Log().Info().Msg(" >> Chart : " + this.Name)
existe, err := this.exists()
if err != nil {
return "", err
}
if ! existe {
return "Non présent", nil
}
msg := fmt.Sprintf("%s uninstall %s", bin, this.Name)
log.Log().Debug().Msg(msg)