stackabletech / stackable-cockpit

Home of stackable-cockpit, stackablectl and stackable-cockpitd
https://docs.stackable.tech/management/stable/
Other
8 stars 3 forks source link

fix: Idempotent helm installations #312

Open NickLarsenNZ opened 3 months ago

NickLarsenNZ commented 3 months ago

Currently stackablectl uses the helm install style of chart installation. This results in failures when upgrading such as:

❯ stackablectl demo install trino-iceberg
An unrecoverable error occured: demo command error

Caused by these errors (recent errors listed first):
 1: failed to install demo "trino-iceberg"
 2: failed to install stack
 3: failed to install stack manifests
 4: failed to install Helm release minio
 5: failed to install Helm release
 6: release minio (5.0.14) already installed, skipping requested version 5.2.0

It would be nicer to take care of the upgrade by using the idempotent style of chart installation: helm upgrade --install