80f8754d2b
Improve metadata validation code to: 1) Provide better reuse of the typing check code within the validation method, since there are a number of duplicated type checks in place. 2) Facilitate reusing the validation code in other parts of the system. The validation function is lengthy so it was refactored and moved to a new file called app_metadata.py. 3) Add Kubernetes version validation without incurring in huge code repetition. 4) Raise an exception when the k8s_minimum_version section is missing from the metadata. This has been introduced and commented out for now until at least all default applications have the k8s_minimum_version section included on their metadata files. 5) Raise an exception if the 'auto_update' or 'timing' fields are missing from the k8s_upgrades section. Test Plan: PASS: build-pkgs -a && build-image PASS: AIO-SX install PASS: Upload/apply cert-manager PASS: Upload/apply platform-integ-apps PASS: Upload/apply snmp PASS: Upload/apply a test application that contains the new k8s_upgrade metadata section Story: 2010929 Task: 48948 Change-Id: I6139b8694962855f50c114c4d645b51d7b374f42 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.