chore(cli): Clean up toolings

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2023-06-12 14:14:57 +02:00
parent 4f2f2d6b2c
commit 1c706f09f8

View file

@ -178,6 +178,10 @@ function or_helm_upgrade() {
openreplay
)
[[ $UPGRADE_OR_ONLY -eq 1 ]] && chart_names=( openreplay )
# Cleaning up toolings
[[ $CLEANUP_TOOLING -eq 1 ]] && {
helm uninstall toolings -n "$APP_NS"
}
if [[ $state == "reload" ]]; then
chart_names=( openreplay )
HELM_OPTIONS="${HELM_OPTIONS} --set skipMigration=true"
@ -384,6 +388,7 @@ do
else
log title "Applying Latest OpenReplay Patches"
fi
CLEANUP_TOOLING=1
upgrade
clean_tmp_dir
exit 0