From 68642ed7886277c7f2ef3b0e4667e6663a58ed3f Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 28 Mar 2023 08:39:46 +0200 Subject: [PATCH] Bump Dekorate to 3.5.3 Changes: https://github.com/dekorateio/dekorate/releases/tag/3.5.3 --- bom/application/pom.xml | 2 +- .../kubernetes/deployment/ApplyContainerImageDecorator.java | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bom/application/pom.xml b/bom/application/pom.xml index bf990288a987a..c47a6dfa1ccdf 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -161,7 +161,7 @@ 1.8.10 1.6.4 1.5.0 - 3.5.2 + 3.5.3 3.2.0 4.2.0 1.1.1 diff --git a/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/ApplyContainerImageDecorator.java b/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/ApplyContainerImageDecorator.java index 5613d31348e5d..6cdafae80faec 100644 --- a/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/ApplyContainerImageDecorator.java +++ b/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/ApplyContainerImageDecorator.java @@ -58,7 +58,10 @@ private ConfigReference buildConfigReferenceForImage() { path = "spec.template.spec.containers.(name == " + getContainerName() + ").image"; } - return new ConfigReference(property, path, image); + return new ConfigReference.Builder(property, path) + .withValue(image) + .withDescription("The container image to use.") + .build(); } }