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

@@ -26,6 +26,8 @@ func GetInitRunner(name string) *InitRunner {
Long: commands.InitLong,
Example: commands.InitExamples,
RunE: r.runE,
Deprecated: "setter commands and substitutions will no longer be available in kustomize v5.\n" +
"See discussion in https://github.com/kubernetes-sigs/kustomize/issues/3953.",
}
runner.FixDocs(name, c)
r.Command = c