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

@@ -31,6 +31,8 @@ func NewListSettersRunner(parent string) *ListSettersRunner {
Example: commands.ListSettersExamples,
PreRunE: r.preRunE,
RunE: r.runE,
Deprecated: "setter commands will no longer be available in kustomize v5.\n" +
"See discussion in https://github.com/kubernetes-sigs/kustomize/issues/3953.",
}
c.Flags().BoolVar(&r.Markdown, "markdown", false,
"output as github markdown")