flux bootstrap git not completing on large repositories #3661
Description
Describe the bug
When attempting to use the following bootstrap command in a large repo, the command seems to never complete. We think it's crashing internally; because it seems to be consistently pulling data from Git (exceeding the size of the repo) - but never completing.
flux bootstrap git --url=ssh://git@github.com/our/repo--branch=trunk --path=clusters/test --private-key-file=/path/to/our/deploy/key --context our-cluster --interval 20m --verbose
Steps to reproduce
Expected behavior
Screenshots and recordings
No response
OS / Distro
Ubuntu 22.04
Flux version
v0.40.2
Flux check
► checking prerequisites
✔ Kubernetes 1.25.3 >=1.20.6-0
► checking controllers
✗ no controllers found in the 'flux-system' namespace with the label selector 'app.kubernetes.io/part-of=flux'
► checking crds
✗ no crds found with the label selector 'app.kubernetes.io/part-of=flux'
✗ check failed
Git provider
No response
Container Registry provider
No response
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct