kustomize.yaml becomes kustomization.yaml

This commit is contained in:
Jeffrey Regan
2018-04-17 11:16:49 -07:00
parent da0682cdeb
commit 4d2b8d4e1d
22 changed files with 59 additions and 43 deletions

View File

@@ -20,10 +20,12 @@ import (
"fmt"
"strings"
"testing"
"k8s.io/kubectl/pkg/kustomize/constants"
)
func TestKustomizationError_Error(t *testing.T) {
filepath := "/path/to/kustomize.yaml"
filepath := "/path/to/" + constants.KustomizationFileName
errorMsg := "Kustomization not found"
me := KustomizationError{KustomizationPath: filepath, ErrorMsg: errorMsg}