rpk connect template lint

Lint Redpanda Connect template files. Exits with a status code 1 if any linting errors are detected. If a path ends with '…​' then Redpanda Connect will walk the target and lint any files with the .yaml or .yml extension.

Usage

rpk connect template lint [flags]

Examples

This section provides examples of how to use rpk connect template lint.

Example.

rpk connect template lint

Example.

rpk connect template lint ./templates/*.yaml

Example.

rpk connect template lint ./foo.yaml ./bar.yaml

Example.

rpk connect template lint ./templates/...

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.