Skip to content

Commit

Permalink
Make sure the directory path is included in rendered manifest paths
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelSpeed committed May 15, 2023
1 parent e749b54 commit 449a71a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/operator/render/options/generic.go
Expand Up @@ -5,6 +5,7 @@ import (
"errors"
"fmt"
"io/ioutil"
"path/filepath"
"text/template"

"github.com/ghodss/yaml"
Expand Down Expand Up @@ -107,7 +108,7 @@ func (o *GenericOptions) ReadInputManifests() (RenderedManifests, error) {
}
for manifestFile, content := range manifestContent {
ret = append(ret, RenderedManifest{
OriginalFilename: manifestFile,
OriginalFilename: filepath.Join(filename, manifestFile),
Content: content,
})
}
Expand Down

0 comments on commit 449a71a

Please sign in to comment.