rpk connect lint
Parse Redpanda Connect configs and report any linting errors. Exits with a status code 1 if any linting errors are detected.
If a path ends with …
, Redpanda Connect lints any files with the .yaml
or .yml
extension.
Examples
rpk connect lint target.yaml
rpk connect lint ./configs/*.yaml
rpk connect lint -r ./foo.yaml ./bar.yaml
rpk connect lint ./configs/...
Flags
Value | Type | Description |
---|---|---|
|
- |
Pulls in extra resources from a file, which you can reference with a unique label in the main configuration. Supports glob patterns (requires quotes). |
|
- |
Print linting errors for the presence of deprecated fields (default: false). |
|
- |
Print linting errors when components do not have labels (default: false). |
|
- |
Do not produce lint errors for environment interpolations missing defaults (default: false). |
|
- |
Show help. |
Was this helpful?