From 8f44a571581bd79bac3256335b46c2f4452e911c Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 23 Jul 2025 17:28:36 -0400 Subject: [PATCH] fix: return the initial manifests if there is no kustomize root path --- plugins/scheduler-k3s/helm.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/scheduler-k3s/helm.go b/plugins/scheduler-k3s/helm.go index 4f855c13f..98fedf630 100644 --- a/plugins/scheduler-k3s/helm.go +++ b/plugins/scheduler-k3s/helm.go @@ -472,11 +472,11 @@ type KustomizeRenderer struct { func (p *KustomizeRenderer) Run(renderedManifests *bytes.Buffer) (*bytes.Buffer, error) { if p.KustomizeRootPath == "" { - return nil, nil + return renderedManifests, nil } if !common.DirectoryExists(p.KustomizeRootPath) { - return nil, nil + return renderedManifests, nil } fs, err := filesys.MakeFsOnDiskSecureBuild(p.KustomizeRootPath)