Commit b8dbb3e3 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #30045 from lojies/addalias

Automatic merge from submit-queue add alias for createconfigmap add Aliases for cmd create configmap. this is a supplement for [https://github.com/kubernetes/kubernetes/pull/29652]
parents 88f987e7 4426c5fd
......@@ -56,6 +56,7 @@ var (
func NewCmdCreateConfigMap(f *cmdutil.Factory, cmdOut io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "configmap NAME [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run]",
Aliases: []string{"cm"},
Short: "Create a configmap from a local file, directory or literal value",
Long: configMapLong,
Example: configMapExample,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment