From 0597752a66fd5962cb845528b9ea2dedf105d855 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Tue, 13 Feb 2024 10:33:21 +0200 Subject: [PATCH] Sanitize app.dekorate.io/vcs-url kubernetes annotation Fixes: #38055 --- .../quarkus/kubernetes/deployment/KubernetesCommonHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesCommonHelper.java b/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesCommonHelper.java index 429c201834fab..7a4c4405ff3ff 100644 --- a/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesCommonHelper.java +++ b/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesCommonHelper.java @@ -75,6 +75,7 @@ import io.dekorate.project.Project; import io.dekorate.project.ScmInfo; import io.dekorate.utils.Annotations; +import io.dekorate.utils.Git; import io.dekorate.utils.Labels; import io.dekorate.utils.Strings; import io.fabric8.kubernetes.api.model.ContainerBuilder; @@ -989,7 +990,7 @@ private static List createAnnotationDecorators(Optional