mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Refactor kustomize config command structure
- Create cfg, fn, live parent commands
This commit is contained in:
committed by
Phillip Wittrock
parent
73157c7141
commit
701c217791
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user