Override "after" key deprecated by "dependent_apps"

Adjust the metadata.yaml of the intel-device-plugins-operator
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
intel-device-plugins-operator and NFD is not already installed.

Test Plan:
PASS: build-pkgs && build-image
PASS: fresh install AIO-SX
PASS: Upload, remove, apply and delete
      intel-device-plugins-operator app
PASS: Update and rollback intel-device-plugins-operator app
PASS: NFD was triggered to upload and apply automatically after the
      intel-device-plugins-operator apply process started.

Story: 2011351
Task: 52347

Depends-On: https://review.opendev.org/c/starlingx/config/+/952863

Change-Id: Ide8fb40aef3c9680ca8c53cd6f0e1e9200ae3173
Signed-off-by: David Bastos <david.barbosabastos@windriver.com>
This commit is contained in:
David Bastos
2025-06-06 11:52:37 -03:00
parent cf1c9c2463
commit 3708e9748b

View File

@@ -15,7 +15,7 @@ upgrades:
supported_k8s_version:
minimum: 1.24.4
behavior:
evaluate_reapply:
after:
- node-feature-discovery
dependent_apps:
- name: node-feature-discovery
version: 25\.09-\d+
action: apply