kindplane validate¶

Validate a configuration file without creating a cluster.
Usage¶
Flags¶
| Flag | Short | Description |
|---|---|---|
--config | -c | Configuration file to validate (default: kindplane.yaml) |
Description¶
The validate command checks your configuration file for errors without creating a cluster. This is useful for:
- Verifying configuration before bootstrap
- CI/CD pipelines
- Catching errors early
Validation Checks¶
The command validates:
- YAML syntax
- Required fields are present
- Field types are correct
- Provider package URLs are valid
- Chart configurations are complete
- Composition sources exist (for local paths)
Examples¶
Validate Default Configuration¶
Validates kindplane.yaml in the current directory.
Validate Specific File¶
CI/CD Usage¶
Output¶
Success¶
Failure¶
✗ Configuration validation failed
Errors:
- crossplane.version: required field missing
- providers[0].package: invalid OCI package URL
- charts[2].repo: required field missing
Common Validation Errors¶
Missing Required Field¶
Fix: Add the required field to your configuration.
Invalid Provider Package¶
Fix: Ensure the package URL follows the format: registry/namespace/name:version
Invalid Chart Phase¶
Fix: Use a valid phase value.
Local Path Not Found¶
Fix: Create the directory or update the path.