Browse Source

Introduce metadata for app behavior control

App should achieve applied state.
Keep existing behavior when evaluating app reapplies.

Note: Sibling commits modify metadata for other apps. Cert-manager and
rook apps will no longer be evaluated strictly after
platform-integ-apps.

Story: 2007960
Task: 41754
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: Ia7bbca906e343ffffa019885a790befdf5ccb565
changes/63/774063/3
Dan Voiculeasa 2 months ago
parent
commit
d30187c950
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      stx-platform-helm/stx-platform-helm/files/metadata.yaml

+ 12
- 0
stx-platform-helm/stx-platform-helm/files/metadata.yaml View File

@ -1,3 +1,15 @@
app_name: @APP_NAME@
app_version: @APP_VERSION@
helm_repo: @HELM_REPO@
behavior:
platform_managed_app: yes
desired_state: applied
evaluate_reapply:
triggers:
- type: runtime-apply-puppet # TODO(dvoicule): optimize triggers
- type: host-availability-updated
filters:
- availability: services-enabled
- type: host-delete
filters:
- personality: controller

Loading…
Cancel
Save