deprecate some cfg commands

This commit is contained in:
Natasha Sarkar
2021-07-08 11:09:16 -07:00
parent f4e6816338
commit 16dcc98cff
16 changed files with 31 additions and 9 deletions

View File

@@ -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()
}
}