- Add `.spec.sparseCheckout` and `.status.observedSparseCheckout` fields to `GitRepository`.
- Add controller support to send the sparse checkout directories to go-git via pkg methods.
- Use `.status/observedSparseCheckout` to detect drift in configuration.
- Trim leading "./" in directory paths.
- Validate spec configuration by checking directories specified in spec exist in the cloned repository after successful checkout
- Add tests for testing the observed sparse checkout behavior.
- Add docs describing the new fields.
Signed-off-by: Dipti Pai <diptipai89@outlook.com>
|
||
|---|---|---|
| .. | ||
| artifact_types.go | ||
| bucket_types.go | ||
| condition_types.go | ||
| doc.go | ||
| gitrepository_types.go | ||
| groupversion_info.go | ||
| helmchart_types.go | ||
| helmrepository_types.go | ||
| ociverification_types.go | ||
| source.go | ||
| sts_types.go | ||
| zz_generated.deepcopy.go | ||