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.
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/...
Flags
| Value | Type | Description |
|---|---|---|
|
bool |
Print the lint result for each target file. |
|
strings |
import environment variables from a dotenv file. |
|
strings |
EXPERIMENTAL: import Redpanda Connect templates, supports glob patterns (requires quotes). |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |