Override "after" key deprecated by "dependent_apps"
Adjust the metadata.yaml of the kubernetes-power-manager application to
no longer use the after key and instead use the "dependent_apps" key.
This new feature installs the NFD app if you need to install
kubernetes-power-manager and NFD is not already installed.
Test Plan:
PASS: build-pkgs && build-image
PASS: fresh install AIO-SX
PASS: Upload, remove, apply and delete kubernetes-power-manager app
PASS: Update and rollback kubernetes-power-manager app
PASS: NFD was triggered to upload and apply automatically after the
kubernetes-power-manager apply process started.
Story: 2011351
Task: 52348
Depends-On: https://review.opendev.org/c/starlingx/config/+/952863
Change-Id: Icb770c49f7ff5f48999624e4ccc29a30eb0148db
Signed-off-by: David Bastos <david.barbosabastos@windriver.com>
This commit is contained in:
@@ -18,9 +18,11 @@ supported_k8s_version:
|
|||||||
behavior:
|
behavior:
|
||||||
platform_managed_app: yes
|
platform_managed_app: yes
|
||||||
evaluate_reapply:
|
evaluate_reapply:
|
||||||
after:
|
|
||||||
- node-feature-discovery
|
|
||||||
|
|
||||||
triggers:
|
triggers:
|
||||||
- type: host-label-assign
|
- type: host-label-assign
|
||||||
- type: host-modify
|
- type: host-modify
|
||||||
|
|
||||||
|
dependent_apps:
|
||||||
|
- name: node-feature-discovery
|
||||||
|
version: 25\.09-\d+
|
||||||
|
action: apply
|
||||||
Reference in New Issue
Block a user