diff --git a/staging/src/k8s.io/kubectl/pkg/cmd/create/create_configmap.go b/staging/src/k8s.io/kubectl/pkg/cmd/create/create_configmap.go index f43f91b0134..467f5e3364b 100644 --- a/staging/src/k8s.io/kubectl/pkg/cmd/create/create_configmap.go +++ b/staging/src/k8s.io/kubectl/pkg/cmd/create/create_configmap.go @@ -64,11 +64,8 @@ var ( # Create a new config map named my-config with key1=config1 and key2=config2 kubectl create configmap my-config --from-literal=key1=config1 --from-literal=key2=config2 - # Create a new config map named my-config from the key=value pairs in the file - kubectl create configmap my-config --from-file=path/to/bar - - # Create a new config map named my-config from an env file - kubectl create configmap my-config --from-env-file=path/to/foo.env --from-env-file=path/to/bar.env`)) + # Create a new config map named my-config with key=value pairs from an env file + kubectl create configmap my-config --from-env-file=path/to/bar.env`)) ) // ConfigMapOptions holds properties for create configmap sub-command