Skip to content

Commit

Permalink
Load *.sample.yaml values file
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Sep 23, 2024
1 parent fc1e967 commit 94e2932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/lib/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func ListImages(rootDir string) ([]string, error) {
}

args := []any{"template", entry.Name()}
if files, err := filepath.Glob(filepath.Join(rootDir, entry.Name(), "*.values.yaml")); err == nil && len(files) > 0 {
if files, err := filepath.Glob(filepath.Join(rootDir, entry.Name(), "*.sample.yaml")); err == nil && len(files) > 0 {
for _, file := range files {
args = append(args, "--values="+entry.Name()+"/"+filepath.Base(file))
}
Expand Down

0 comments on commit 94e2932

Please sign in to comment.