Disable oidc-auth-apps application upgrade

The oidc-auth-apps application requires conversion of the configuration
data during upgrade. Disable the application upgrade until the
conversion scripts are ready.

Story: 2009838
Task: 45408

Test cases:
PASS: CentOS build

Signed-off-by: Michel Thebeau <Michel.Thebeau@windriver.com>
Change-Id: I35a1a76c013a6d45d9cae75fbe6feccbb7a33f4f
This commit is contained in:
Michel Thebeau 2022-05-18 13:07:18 -04:00
parent adb7b41308
commit 64a3e03182
1 changed files with 2 additions and 2 deletions

View File

@ -83,9 +83,9 @@ 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}" =~ ^(oidc-auth-apps|platform-integ-apps|snmp)$ ]]; then
if [[ "${UPGRADE_APP_NAME}" =~ ^(platform-integ-apps|snmp)$ ]]; then
log "$NAME: ${UPGRADE_APP_NAME} is a supported platform application."
elif [[ "${UPGRADE_APP_NAME}" =~ ^(cert-manager|nginx-ingress-controller)$ ]]; then
elif [[ "${UPGRADE_APP_NAME}" =~ ^(cert-manager|nginx-ingress-controller|oidc-auth-apps)$ ]]; then
log "$NAME: ${UPGRADE_APP_NAME} is handled by another script."
continue
else