From 1ac6324a59f0bf063a6cc40fcb5f72a82d4fe4c0 Mon Sep 17 00:00:00 2001 From: ThameezBo Date: Wed, 24 May 2023 15:40:06 +0200 Subject: [PATCH] feat(manifests/helmfile): add tests --- .../rosco/manifests/helmfile/HelmfileTemplateUtils.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rosco-manifests/src/main/java/com/netflix/spinnaker/rosco/manifests/helmfile/HelmfileTemplateUtils.java b/rosco-manifests/src/main/java/com/netflix/spinnaker/rosco/manifests/helmfile/HelmfileTemplateUtils.java index ff1e6b66d..cad7eb434 100644 --- a/rosco-manifests/src/main/java/com/netflix/spinnaker/rosco/manifests/helmfile/HelmfileTemplateUtils.java +++ b/rosco-manifests/src/main/java/com/netflix/spinnaker/rosco/manifests/helmfile/HelmfileTemplateUtils.java @@ -62,8 +62,6 @@ public BakeRecipe buildBakeRecipe( if ("git/repo".equals(artifactType)) { env.downloadArtifactTarballAndExtract(artifactDownloader, helmfileTemplateArtifact); - log.info("helmfileFilePath: '{}'", request.getHelmfileFilePath()); - // If there's no helmfile path specified, assume it lives in the root of // the git/repo artifact. helmfileFilePath = @@ -128,7 +126,7 @@ public BakeRecipe buildBakeRecipe( command.add("--set"); command.add(String.join(",", overrideList)); } - // + if (!valuePaths.isEmpty()) { command.add("--values"); command.add(valuePaths.stream().map(Path::toString).collect(Collectors.joining(",")));