kr8 init component
Init a new component config file
Synopsis
Initialize a new component configuration file
kr8 init component [flags]
Options
-h, --help help for component
-o, --name string component name (default "component-tpl")
-t, --type jsonnet component type, one of: [jsonnet, `yml`, `chart`] (default "jsonnet")
Options inherited from parent commands
-B, --base string kr8+ root configuration directory (default "./")
-D, --clusterdir string kr8+ cluster directory
--color enable colorized output (default true)
-d, --componentdir string kr8+ component directory
--config string a single config file with kr8+ configuration
--debug log additional information about what kr8+ is doing. Overrides --loglevel
--ext-str-file key=file set comma-separated jsonnet extVars from file contents in the format key=file
-i, --interactive initialize a resource interactively
-J, --jpath stringArray additional jsonnet library directories
-L, --loglevel string set zerolog log level (default "info")
--parallel int parallelism - defaults to runtime.GOMAXPROCS(0) (default -1)
--profiledir string directory to write pprof profile data to
SEE ALSO
- kr8 init - Initialize kr8+ config repos, components and clusters