From 70f34f7bc2589a3ee4bd2eecf8fe97fe458c3aef Mon Sep 17 00:00:00 2001 From: Valerii Svydenko Date: Tue, 20 Aug 2024 14:47:31 +0300 Subject: [PATCH] add preStop command to destroy pod (#33) Signed-off-by: Valeriy Svydenko --- devfile.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devfile.yaml b/devfile.yaml index ec9faaa..fb7b29b 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -86,3 +86,6 @@ commands: ansible-navigator --ee false workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo component: tooling-container +events: + preStop: + - "molecule-destroy"