From e9b21d51d1f0e16d896ca497d72cfa1db0b0af83 Mon Sep 17 00:00:00 2001 From: Igor Soares Date: Wed, 8 Mar 2023 09:00:38 -0500 Subject: [PATCH] Enable automatic app update This allows oidc-auth-apps to be automatically updated. This is helpful when providing patches, removing the need for manual intervention. Test Plan: PASS: Check if the kube_app table had the app_metadata field updated to account for the "auto_update: true" inclusion. PASS: Rebuild oidc-auth-apps containing "auto_update: true" then manually update. Created another designer tarball with version bumped and observed the auto update process be triggered automatically and finished successfully. Story: 2010628 Task: 47605 Signed-off-by: Igor Soares Change-Id: Iafcc3a80b121c3d7cb93fa61714e208001595365 --- stx-oidc-auth-helm/stx-oidc-auth-helm/files/metadata.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stx-oidc-auth-helm/stx-oidc-auth-helm/files/metadata.yaml b/stx-oidc-auth-helm/stx-oidc-auth-helm/files/metadata.yaml index 9089830..e7fddb3 100644 --- a/stx-oidc-auth-helm/stx-oidc-auth-helm/files/metadata.yaml +++ b/stx-oidc-auth-helm/stx-oidc-auth-helm/files/metadata.yaml @@ -2,6 +2,10 @@ app_name: @APP_NAME@ app_version: @APP_VERSION@ helm_repo: @HELM_REPO@ maintain_user_overrides: true + +upgrades: + auto_update: true + behavior: platform_managed_app: yes desired_state: uploaded