From 954f61a53b39796b1d0162efa60332ea8a48b580 Mon Sep 17 00:00:00 2001 From: Alan Bandeira Date: Thu, 22 Jun 2023 23:04:44 -0300 Subject: [PATCH] Add auto_update for audit stx app. This commit adds the auto update capability to the audit app. This change will enable the audit app to be updated when a new version is made available to the system. Test cases: PASS: build-pkgs -p stx-audit-helm PASS: build-image PASS: system application-apply auditd PASS: In a system where auditd is in applied state, verify whether auto_update works by placing the new tarbal in "/usr/local/share/applications/helm/" and monitoring if sysinv automaticaly updates auditd to a new version. Story: 2010628 Task: 48273 Change-Id: I1ffaba0fee9b34d237d252134e1680188cb36537 Signed-off-by: Alan Bandeira --- stx-audit-helm/stx-audit-helm/files/metadata.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stx-audit-helm/stx-audit-helm/files/metadata.yaml b/stx-audit-helm/stx-audit-helm/files/metadata.yaml index d3dc992..704c666 100644 --- a/stx-audit-helm/stx-audit-helm/files/metadata.yaml +++ b/stx-audit-helm/stx-audit-helm/files/metadata.yaml @@ -3,3 +3,6 @@ maintain_user_overrides: true app_name: "@APP_NAME@" app_version: "@APP_VERSION@" helm_repo: "@HELM_REPO@" + +upgrades: + auto_update: true