Remove -t flag in build and add configurations field in kustomization.yaml

This commit is contained in:
Jingfang Liu
2018-11-13 11:06:19 -08:00
parent 38b7f42f9e
commit 25415c5501
9 changed files with 30 additions and 227 deletions

View File

@@ -56,7 +56,7 @@ func TestBuildValidate(t *testing.T) {
}
for _, mycase := range cases {
opts := buildOptions{}
e := opts.Validate(mycase.args, "", nil)
e := opts.Validate(mycase.args)
if len(mycase.erMsg) > 0 {
if e == nil {
t.Errorf("%s: Expected an error %v", mycase.name, mycase.erMsg)