8a1852a7fb
Prevent charts referenced by multiple StarlingX applications from being deleted from Helm repositories. Helm charts are deleted from Helm repositories when applications are deleted or updated. However, in scenarios that those charts are in use by other applications that deletion should not happen. This commit introduces a check to cover this scenario and prevent the deletion. In addition, the formatting of the error message raised when a chart of the same version is uploaded was also fixed. Test Plan: PASS: build-pkgs -c -p sysinv PASS: Upload app snmp-1.0-90.tgz containing the snmp-1.0.0.tgz chart. Create a sibling app called snmp-clone-1.0-1.tgz containing the same chart. Upload app snmp-clone-1.0-1.tgz. Delete app snmp-1.0-90.tgz. Confirm that the snmp-1.0.0.tgz chart still is in the repository. Delete app snmp-clone-1.0-1.tgz. Confirm that the snmp-1.0.0.tgz chart was removed from the repository. PASS: Upload app snmp-1.0-90.tgz containing the snmp-1.0.0.tgz chart. Apply app snmp-1.0-90.tgz. Upload app snmp-clone-1.0-1.tgz which contains the same chart. Update app snmp-1.0-90 to snmp-1.0-91 which contains the snmp-1.0.1.tgz chart. Confirm that the snmp-1.0.0.tgz chart still is in the repository. Delete app snmp-clone-1.0-1.tgz Confirm that the snmp-1.0.0.tgz chart was removed from the repository. Remove app snmp-1.0-91. Delete app snmp-1.0-91. Confirm that the snmp-1.0.1.tgz chart was removed from the repository. Story: 2010929 Task: 48882 Change-Id: Ie5307f67726ee2e1e774f22af22b286548dfc78d Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com> |
||
---|---|---|
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
config
The starlingx/config repository handles the StarlingX configuration management services.
Its key component is the System Inventory Service (Sysinv), which provides the system command-line interface (CLI)1.
This repository is not intended to be developed standalone, but rather as part of the StarlingX Source System, which is defined by the StarlingX manifest2.