Karla Felix 52b1721376 Add label 'app.starlingx.io/component=platform' to namespace
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
2023-04-10 15:16:34 -03:00
2020-04-28 09:39:52 -04:00
2020-04-27 17:19:02 +00:00
2023-01-24 11:24:23 -03:00
2023-01-24 11:24:23 -03:00
2022-12-23 16:06:59 +00:00
Description
StarlingX Portieris App
1.2 MiB
Languages
Python 74%
Makefile 25.8%
Assembly 0.2%