Skip to main content

wf create configmap

wf create configmap

Creates a configuration resource

Synopsis

Lets you create a named configuration object, which contains one or more key-value pairs.

wf create configmap <NAME> [flags]

Examples


# Create a configuration object with a single key-value pair:
$ wf create configmap myconfig --value param1=value1

# Create a configuration object with multiple key-value pairs:
$ wf create configmap myconfig --value param1=value1 --value param2=value2

Options

  -h, --help              help for configmap
--value KEY=VALUE key value pair for configuration KEY=VALUE

Options inherited from parent commands

      --debug              Debug / trace logging (default: false)
--force Force operation to happen (default: false)
--no-wait Do not wait for resources to provision
-o, --output string Output format of the resource (json,yaml,table) (default "table")
--profile string Use a profile other than your current - to change current: wf use profile NAME
--show-headers Display headers on table out (default true)
--verbose Verbose logging (default: false)
-w, --workspace string Workspace to use - to change default: wf use workspace NAME

SEE ALSO