Skip to content

Commit

Permalink
Fix package parser on windows
Browse files Browse the repository at this point in the history
Fixes: #893
  • Loading branch information
zen-dog committed Dec 5, 2019
1 parent ead3d4c commit 0116afc
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkg/kudoctl/packages/reader/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package reader

import (
"fmt"
"path/filepath"
"regexp"
"strings"

Expand All @@ -10,10 +11,13 @@ import (
)

const (
operatorFileName = "operator.yaml"
templateFileNameRegex = "templates/.*.yaml"
paramsFileName = "params.yaml"
APIVersion = "kudo.dev/v1beta1"
operatorFileName = "operator.yaml"
paramsFileName = "params.yaml"
APIVersion = "kudo.dev/v1beta1"
)

var (
templateFileNameRegex = filepath.Join("templates", ".*.yaml")
)

func newPackageFiles() packages.Files {
Expand Down

0 comments on commit 0116afc

Please sign in to comment.