mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
add alias for createconfigmap
This commit is contained in:
parent
df8da19055
commit
4426c5fd6f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user