From c2c41c11b051af825699f8a0482b6366bea0c705 Mon Sep 17 00:00:00 2001 From: Enzo Candotti Date: Thu, 23 Mar 2023 14:14:14 -0300 Subject: [PATCH] Update snmp metadata for upgrade support This change updates the metadata of the snmp application tarball to mark the app as platform managed and eligible for automatic upgrades. The application framework will now properly upgrade snmp when a newer version is installed on a system. Test plan: PASS: Build and deploy updated snmp PASS: Patch system to update snmp application, verify that app is automatically upgraded. Story: 2010628 Task: 47704 Signed-off-by: Enzo Candotti Change-Id: I3ab7fc772114e1dab09fc44b85cdd01f3b883b25 --- stx-snmp-helm/stx-snmp-helm/files/metadata.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stx-snmp-helm/stx-snmp-helm/files/metadata.yaml b/stx-snmp-helm/stx-snmp-helm/files/metadata.yaml index d2c6295..b104fa8 100644 --- a/stx-snmp-helm/stx-snmp-helm/files/metadata.yaml +++ b/stx-snmp-helm/stx-snmp-helm/files/metadata.yaml @@ -3,3 +3,7 @@ maintain_user_overrides: true app_name: @APP_NAME@ app_version: @APP_VERSION@ helm_repo: @HELM_REPO@ +upgrades: + auto_update: true +behaviour: + platform_managed_app: true