Comment 2 for bug 2002301

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to platform-armada-app (master)

Reviewed: https://review.opendev.org/c/starlingx/platform-armada-app/+/869553
Committed: https://opendev.org/starlingx/platform-armada-app/commit/e29fbbadbd322ff369d455ece3e83f2992240b4c
Submitter: "Zuul (22348)"
Branch: master

commit e29fbbadbd322ff369d455ece3e83f2992240b4c
Author: Dan Voiculeasa <email address hidden>
Date: Mon Jan 9 12:49:07 2023 +0200

    Keep user overrides during app update

    It was observed when updating the app part of platform upgrade that
    it loses user overrides. I suspect a day 0 slip. All the other apps
    already have a flag enabled to keep the user overrides during
    app updates.

    Enable 'maintain_user_overrides' flag, if present on N+1 version then it
    will keep the N version user overrides.

    If there are any kind of user overrides that need transformation
    between N->N+1 update, these must be handled in the upgrade scripts,
    helm charts or in the lifecycle hooks(maybe create new lifecycle
    hook for this purpose).

    Tests:
    PASS: tested stx.5.0 to stx.6.0 upgrade, with patched
          platform-integ-apps, user overrides are kept

    Closes-Bug: 2002301
    Signed-off-by: Dan Voiculeasa <email address hidden>
    Change-Id: I8d9563519129372e35d328942813256f1a3c1e38