Refactor kustomize config command structure

- Create cfg, fn, live parent commands
This commit is contained in:
Phillip Wittrock
2020-06-03 13:17:30 -07:00
committed by Phillip Wittrock
parent 73157c7141
commit 701c217791
68 changed files with 669 additions and 3846 deletions

View File

@@ -9,7 +9,7 @@ func TestInit(t *testing.T) {
tests := []test{
{
name: "init",
args: []string{"init"},
args: []string{"cfg", "init"},
expectedFiles: map[string]string{
"Krmfile": `
apiVersion: config.k8s.io/v1alpha1
@@ -20,7 +20,7 @@ kind: Krmfile
{
name: "init",
args: []string{"init", "."},
args: []string{"cfg", "init", "."},
expectedFiles: map[string]string{
"Krmfile": `
apiVersion: config.k8s.io/v1alpha1