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
This commit is contained in:
parent
3b30601a8a
commit
d30187c950
|
@ -1,3 +1,15 @@
|
||||||
app_name: @APP_NAME@
|
app_name: @APP_NAME@
|
||||||
app_version: @APP_VERSION@
|
app_version: @APP_VERSION@
|
||||||
helm_repo: @HELM_REPO@
|
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…
Reference in New Issue