bootstraper: delete helm chart on installation failure before retrying installation (#1977)

* Delete helm chart on failure before retrying installation

* Add chart name to debug output

* Remove now unused wait flag from helm Release struct

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2023-06-30 15:13:29 +02:00 committed by GitHub
parent 31a22bb443
commit 5a9f9c0a52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -168,7 +168,7 @@ func (i *ChartLoader) loadRelease(info chartInfo) (helm.Release, error) {
return helm.Release{}, fmt.Errorf("packaging %s chart: %w", info.releaseName, err)
}
return helm.Release{Chart: chartRaw, Values: values, ReleaseName: info.releaseName, Wait: false}, nil
return helm.Release{Chart: chartRaw, Values: values, ReleaseName: info.releaseName}, nil
}
// loadCiliumValues is used to separate the marshalling step from the loading step.