1e2073bb1a
Add support to preserve the app attributes from the old version when updating app to a new version. The key "maintain_attributes" in application metadata file indicates if the app attributes will be reused or not during update, user can specify --reuse-attributes <true/false> to override the metadata preference specified by the application. Database column which stores the app attributes is called system_overrides (table helm_overrides), when attributes is mentioned in the code, it means the property stored in column system_overrides in the database. That property is shown to the user as attributes. The naming confusion will be fixed later. Test Plan: PASS: Update app without specify --reuse-attributes PASS: Update app without specify --reuse-attributes app metadata defaults to maintain_attributes=true PASS: Update app specify --reuse-attributes false PASS: Update app specify --reuse-attributes true PASS: Disabled helm chart stays disabled with update Closes-Bug: https://bugs.launchpad.net/starlingx/+bug/1998499 Signed-off-by: Fabricio Henrique Ramos <fabriciohenrique.ramos@windriver.com> Change-Id: I0f9c5c7314deb10f89853c9e5c8e15daf99580ed |
||
---|---|---|
api-ref/source | ||
config-gate | ||
controllerconfig | ||
devstack | ||
doc | ||
releasenotes | ||
storageconfig | ||
sysinv | ||
tmp/patch-scripts/EXAMPLE_SYSINV/scripts | ||
tools/docker/images | ||
tsconfig | ||
workerconfig | ||
.gitignore | ||
.gitreview | ||
.yamllint | ||
.zuul.yaml | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
bindep.txt | ||
centos_build_layer.cfg | ||
centos_dev_wheels.inc | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_pkg_dirs_containers | ||
centos_stable_wheels.inc | ||
debian_build_layer.cfg | ||
debian_iso_image.inc | ||
debian_pkg_dirs | ||
debian_stable_wheels.inc | ||
test-requirements.txt | ||
tox.ini |
README.rst
stx-config
StarlingX Configuration Management