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:
@@ -23,6 +23,8 @@ func NewCreateSubstitutionRunner(parent string) *CreateSubstitutionRunner {
|
||||
Args: cobra.ExactArgs(2),
|
||||
PreRun: r.preRun,
|
||||
RunE: r.runE,
|
||||
Deprecated: "imperative substitutions will no longer be available in kustomize v5.\n" +
|
||||
"See discussion in https://github.com/kubernetes-sigs/kustomize/issues/3953.",
|
||||
}
|
||||
cs.Flags().StringVar(&r.CreateSubstitution.FieldName, "field", "",
|
||||
"name of the field to set -- e.g. --field image")
|
||||
|
||||
Reference in New Issue
Block a user