Customizing kn
- If the
XDG_CONFIG_HOME
environment variable is set, the default configuration location thatkn
looks for is$XDG_CONFIG_HOME/kn
. - If the
XDG_CONFIG_HOME
environment variable is not set,kn
looks for the configuration in the home directory of the user at$HOME/.config/kn/config.yaml
.
Where
path-lookup
specifies whetherkn
should look for plugins in thePATH
environment variable. This is a boolean configuration option. The default value isfalse
.directory
specifies the directory wherekn
will look for plugins. The default path depends on the operating system, as described earlier. This can be any directory that is visible to the user.sink-mappings
defines the Kubernetes Addressable resource that is used when you use the--sink
flag with akn
CLI command.group
: The API group of the Kubernetes resource.version
: The version of the Kubernetes resource.resource
: The plural name of the Kubernetes resource type. For example,services
orbrokers
.