stackabletech / stackable-cockpit

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

fix: Idempotent helm installations #312

Open NickLarsenNZ opened 1 month ago

NickLarsenNZ commented 1 month 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