From d30187c950cf622c7d6e65cc2d0995e51b41641f Mon Sep 17 00:00:00 2001 From: Dan Voiculeasa Date: Thu, 4 Feb 2021 12:12:54 +0200 Subject: [PATCH] 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 Change-Id: Ia7bbca906e343ffffa019885a790befdf5ccb565 --- .../stx-platform-helm/files/metadata.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/stx-platform-helm/stx-platform-helm/files/metadata.yaml b/stx-platform-helm/stx-platform-helm/files/metadata.yaml index 49f72b5..33d3b2c 100644 --- a/stx-platform-helm/stx-platform-helm/files/metadata.yaml +++ b/stx-platform-helm/stx-platform-helm/files/metadata.yaml @@ -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