Skip to content

Commit

Permalink
oalres: uninstall settings app in upgrade (#740)
Browse files Browse the repository at this point in the history
Co-authored-by: liuyu <>
  • Loading branch information
eball authored Dec 12, 2024
1 parent 1c14b97 commit bf6cb7a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/installer/upgrade_cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,12 @@ function upgrade_terminus(){
gen_app_values ${user}
close_apps ${user}

# uninstall settings app
local settings_app=$($sh_c "${KUBECTL} get deploy settings-deployment -n user-space-${user} -o jsonpath='{.metadata.name}'")
if [[ x"$settings_app" != x"" ]]; then
$sh_c "${HELM} uninstall settings -n user-space-${user}"
fi

for appdir in "${BASE_DIR}/wizard/config/apps"/*/; do
if [ -d "$appdir" ]; then
releasename=$(basename "$appdir")
Expand Down

0 comments on commit bf6cb7a

Please sign in to comment.