mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
deprecate some cfg commands
This commit is contained in:
@@ -43,7 +43,9 @@ kind: Krmfile
|
||||
t.FailNow()
|
||||
}
|
||||
|
||||
if !assert.Equal(t, "", b.String()) {
|
||||
if !assert.Equal(t, `Command "init" is deprecated, setter commands and substitutions will no longer be available in kustomize v5.
|
||||
See discussion in https://github.com/kubernetes-sigs/kustomize/issues/3953.
|
||||
`, b.String()) {
|
||||
t.FailNow()
|
||||
}
|
||||
}
|
||||
@@ -78,7 +80,9 @@ kind: Krmfile
|
||||
t.FailNow()
|
||||
}
|
||||
|
||||
if !assert.Equal(t, "", b.String()) {
|
||||
if !assert.Equal(t, `Command "init" is deprecated, setter commands and substitutions will no longer be available in kustomize v5.
|
||||
See discussion in https://github.com/kubernetes-sigs/kustomize/issues/3953.
|
||||
`, b.String()) {
|
||||
t.FailNow()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user