flux2: Bootstrap fails the first time
Describe the bug
When running bootstrap on a github repository it seems to always fail the first time with:
installing components in "flux-system" namespace
Kustomization/flux-system/flux-system dry-run failed, error: no matches for kind "Kustomization" in version "kustomize.toolkit.fluxcd.io/v1beta2"
After running the exact same bootstrap command again it works as expected.
The bootstrap command is flux bootstrap github --owner=*** --repository=*** --path=some/repo/path --personal
Any ideas what this might be about?
Steps to reproduce
N/A
Expected behavior
N/A
Screenshots and recordings
No response
OS / Distro
Windows 10
Flux version
0.25.3
Flux check
N/A
Git provider
github
Container Registry provider
No response
Additional context
No response
Code of Conduct
- I agree to follow this projectβs Code of Conduct
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 30 (11 by maintainers)
Great news! This was a hard bug to reproduce, thanks Weaveworks for providing me with a 64GB RAM MacBook π) I had to run dozen Kind clusters in parallel to catch this.
@mibollma we have e2e tests for Azure AKS that are run daily, there are no failures so far.
@kingdonb @SomtochiAma can you please help me out with testing bootstrap on AKS?
@youwalther65 You can see the difference between terraform provider v0.10.2 and v0.10.1 here:
https://github.com/fluxcd/terraform-provider-flux/compare/v0.10.1...v0.10.2
(The change is in Flux 0.26.3, which was the version that was utilized in flux-terraform-provider v0.10.2 π )
fixed for me with version 0.26.2 π
Same here! Any workaround (other than running twice π₯΄)? Trying to automatize in a Gitlab CI/CD Pipeline.
1st run:
2nd run: