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
recover is requesting credentials #315
Comments
Adding onto this after more debugging. It seems that the CLI only asks for github credentials when |
Even more testing and running the command in a debugger. So, the alternative would be to let a user checkout their private repo themselves and provide a local filepath to the bootstrap/argo-cd kustomization. However that doesn't work because kustomize throws a security error due to the local path being outside the temporary directory you create for your wrapping kustomization. |
I can confirm the same bug when using a custom app specifier ( |
same issue as @debovema . I patched argocd's cm to exclude ciliumIdentity and then had to do a recover and thought I'd need to explicitly specify the app and ran into this as well. |
I'm testing recovery against a local (docker desktop) k8s cluster. I've been able to install argocd using autopilot successfully. I then used docker desktop's "Reset Kubernetes Cluster" and I'm testing that recovery works.
Even with the
GIT_TOKEN
set in the env and passed using--git-token
, running anargocd-autopilot repo bootstrap --recover
is asking for my credentials to login to github.autopilot version is 0.3.7
The text was updated successfully, but these errors were encountered: