-
Notifications
You must be signed in to change notification settings - Fork 630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FluxCD bootstrap from Github failed #5179
Comments
To debug this I suggest running a pod with |
Thanks @stefanprodan for the reply, it was working back to 1 month ago. Besides, I am using proxy and no matter if it is configured in Though I tried from another VM without K8S, still the same issue. |
@stefanprodan I think I have fixed the issue by referring to the link: https://fluxcd.io/flux/installation/bootstrap/github/#bootstrap-without-a-github-pat, which is bootstrapping without PAT but private key, but there is a tiny difference on the If I am using
After switching it to
I am not sure if this should be the correct one but per the link https://docs.github.com/en/authentication/troubleshooting-ssh/using-ssh-over-the-https-port, the test is based on
|
I was trying to bootstrap Flux from Github with command below:
flux bootstrap github --owner=$GITHUB_USER --repository=flux-fleet-infra --branch=main --path=clusters/homelab --personal --token-auth
However it stuck at:
From
kubectl describe gitrepository flux-system -n flux-system
:Some checks I have done:
After adding
~/.ssh/config
with config as below:Github connection test passed but the IP is different:
I changed the DNS mapping of github.com to another IP address in
/etc/hosts
, it is still trying to connect20.205.243.166
.May I know what I could try next?
The text was updated successfully, but these errors were encountered: