From bc144275b4a834ca0ecf630c3a9d74c326d415bb Mon Sep 17 00:00:00 2001 From: guineveresaenger Date: Tue, 29 May 2018 10:27:18 -0700 Subject: [PATCH] Removes help text for `kustomize edit add secret` There is currently no support for adding a secret with kustomize. The help text should not show such an option. Fixes #14. --- pkg/commands/commands.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkg/commands/commands.go b/pkg/commands/commands.go index 6fe3d14d0..39b92d6ff 100644 --- a/pkg/commands/commands.go +++ b/pkg/commands/commands.go @@ -81,15 +81,12 @@ func newCmdEdit(stdOut, stdErr io.Writer, fsys fs.FileSystem) *cobra.Command { func newCmdAdd(stdOut, stdErr io.Writer, fsys fs.FileSystem) *cobra.Command { c := &cobra.Command{ Use: "add", - Short: "Adds configmap/resource/secret to the kustomization file.", + Short: "Adds configmap/resource/patch to the kustomization file.", Long: "", Example: ` # Adds a configmap to the kustomization file kustomize edit add configmap NAME --from-literal=k=v - # Adds a secret to the kustomization file - kustomize edit add secret NAME --from-literal=k=v - # Adds a resource to the kustomization kustomize edit add resource