From 9167104961d86021d9318c7c534a14879494a785 Mon Sep 17 00:00:00 2001 From: Jose Date: Wed, 1 Feb 2023 07:58:01 +0100 Subject: [PATCH] Fix RemoveDeploymentTriggerDecorator order The decorator RemoveDeploymentTriggerDecorator was not configured to be triggered before ChangeDeploymentTriggerDecorator, so sometimes the image stream tag was wrong. Relates to failures in https://github.com/dekorateio/dekorate/actions/runs/4023231521/jobs/6913879180 --- .../deployment/RemoveDeploymentTriggerDecorator.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/RemoveDeploymentTriggerDecorator.java b/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/RemoveDeploymentTriggerDecorator.java index 80730366ffdb98..723a07ba405a26 100644 --- a/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/RemoveDeploymentTriggerDecorator.java +++ b/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/RemoveDeploymentTriggerDecorator.java @@ -19,4 +19,9 @@ public void andThenVisit(DeploymentConfigSpecFluent deploymentConfigSpec, Obj public Class[] after() { return new Class[] { ApplyDeploymentTriggerDecorator.class }; } + + @Override + public Class[] before() { + return new Class[] { ChangeDeploymentTriggerDecorator.class }; + } }