Skip to main content
Version: v1.8

vela config create

Create a config.

vela config create [flags]

Examples

  # Generate a config with the args
vela config create test-registry --template=image-registry registry=index.docker.io auth.username=test auth.password=test

# Generate a config with the file
vela config create test-config --template=image-registry -f config.yaml

# Generate a config without the template
vela config create test-vela -f config.yaml

Options

      --alias string         specify the alias of the config
--description string specify the description of the config
--dry-run Dry run to apply the config
-f, --file string specify the file name of the config properties
-h, --help help for create
-n, --namespace string specify the namespace of the config (default "vela-system")
--target stringArray this config will be distributed if this flag is set
-t, --template string specify the config template name and namespace

Options inherited from parent commands

  -y, --yes   Assume yes for all user prompts

SEE ALSO

Go Back to CLI Commands Homepage.

Auto generated by spf13/cobra script in KubeVela.