
Add support to 'app.starlingx.io/component' to be overwritten by user override, with possible values being 'platform' and 'application'. With 'platform' being the default value.This change will also restart the pods if the label in namespace change. Test Plan: PASS: Install portieris and check with 'kubectl edit namespace portieris' if the 'app.starlingx.io/component' with value 'platform'. PASS: Add 'app.starlingx.io/component: application' to user override and check if 'app.starlingx.component' changes to 'application'. PASS: Use 'system application-apply portieris' when there is a change to be applied to 'app.starlingx.component' and verify if the pod is restarted. PASS: Change the 'app.starlingx.io/component' to a not supported value during user override apply and verify if 'app.starlingx.io/component' still 'platform' or 'application'. PASS: Run tox.ini tests to the current patch of this review. Signed-off-by: Karla Felix <karla.karolinenogueirafelix@windriver.com> Change-Id: If215ed95c3d0d57b3555019880b90baa7e2e22b8
Description
StarlingX Portieris App
Languages
Python
74%
Makefile
25.8%
Assembly
0.2%