From dd5569593ad4c0269aa488e64a078b7bb8175d0f Mon Sep 17 00:00:00 2001 From: Jose Infanzon Date: Mon, 20 Sep 2021 17:32:43 -0300 Subject: [PATCH] Fix SNMP upgrade scenario Changes done to automatically upgrade SNMP, after a system upgrade. Closes-Bug: 1944391 Signed-off-by: Jose Infanzon Change-Id: Iefd6714d814e0071723f8321a3765bb6eabab7b3 --- .../controllerconfig/upgrade-scripts/65-k8s-app-upgrade.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllerconfig/controllerconfig/upgrade-scripts/65-k8s-app-upgrade.sh b/controllerconfig/controllerconfig/upgrade-scripts/65-k8s-app-upgrade.sh index f6b95cbe78..17a9017fc1 100644 --- a/controllerconfig/controllerconfig/upgrade-scripts/65-k8s-app-upgrade.sh +++ b/controllerconfig/controllerconfig/upgrade-scripts/65-k8s-app-upgrade.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2020 Wind River Systems, Inc. +# Copyright (c) 2020-2021 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # @@ -81,7 +81,7 @@ if [ "$ACTION" == "activate" ]; then log "$NAME: Found application ${UPGRADE_APP_NAME}, version ${UPGRADE_APP_VERSION} at $fqpn_app" # Confirm application is upgradable - if [[ "${UPGRADE_APP_NAME}" =~ ^(cert-manager|nginx-ingress-controller|oidc-auth-apps|platform-integ-apps)$ ]]; then + if [[ "${UPGRADE_APP_NAME}" =~ ^(cert-manager|nginx-ingress-controller|oidc-auth-apps|platform-integ-apps|snmp)$ ]]; then log "$NAME: ${UPGRADE_APP_NAME} is a supported platform application." else log "$NAME: ${UPGRADE_APP_NAME} is not a supported platform application. skipping..."