add edit command option for editing name suffix

This commit is contained in:
zoncoen
2018-11-15 19:04:31 +09:00
parent 04a030bcf0
commit 3488b542ac
7 changed files with 162 additions and 1 deletions

View File

@@ -36,6 +36,9 @@ func NewCmdEdit(fsys fs.FileSystem, v ifc.Validator, kf ifc.KunstructuredFactory
# Sets the nameprefix field
kustomize edit set nameprefix <prefix-value>
# Sets the namesuffix field
kustomize edit set namesuffix <suffix-value>
`,
Args: cobra.MinimumNArgs(1),
}