Istio app not upgraded during platform upgrade

This commit is to include the istio application in the upgrade
script 65-k8s-upgrade.sh.

Test Cases:
Pass: Run application update

Closes-Bug: 1999820

Signed-off-by: Teresa Ho <teresa.ho@windriver.com>
Change-Id: I98f3fbd020ca71261e5977d4993b36a97d2ecb57
This commit is contained in:
Teresa Ho
2022-12-15 15:27:18 -05:00
parent 081b24993f
commit 338009c930

View File

@@ -90,7 +90,7 @@ if [ "$ACTION" == "activate" ]; then
# Confirm application is upgradable
# TODO: move nginx back to the supported platform applications list when
# fluxcd application upgrade is supported
if [[ "${UPGRADE_APP_NAME}" =~ ^(platform-integ-apps|nginx-ingress-controller|snmp|metrics-server|auditd|ptp-notification)$ ]]; then
if [[ "${UPGRADE_APP_NAME}" =~ ^(platform-integ-apps|nginx-ingress-controller|snmp|metrics-server|auditd|ptp-notification|istio)$ ]]; then
log "$NAME: ${UPGRADE_APP_NAME} is a supported platform application."
elif [[ "${UPGRADE_APP_NAME}" =~ ^(cert-manager|oidc-auth-apps)$ ]] && [ "$FROM_RELEASE" == "22.06" ]; then
log "$NAME: ${UPGRADE_APP_NAME} is a supported platform application from 22.06."