Skip to content
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

cannot bootstrap flux interactive with error scheme "" is not supported #3707

Closed
Tracked by #3026
enekofb opened this issue Dec 11, 2023 · 0 comments · Fixed by #3708
Closed
Tracked by #3026

cannot bootstrap flux interactive with error scheme "" is not supported #3707

enekofb opened this issue Dec 11, 2023 · 0 comments · Fixed by #3708
Assignees
Labels
area/cli issues related to gitops ee cli bug Something isn't working severity_medium team/timber-wolf

Comments

@enekofb
Copy link
Contributor

enekofb commented Dec 11, 2023

Describe the bug

When tried to bootstrap interactive including flux with something like

gitops  bootstrap --password=admin123 \                                                        
     --private-key=/Users/enekofb/.ssh/weaveworks/dev  --private-key-password="" \
     --version="0.37.0" --git-username=enekofb \
     --repo-url=https://github.com/enekofb/cli-dev.git  \
     --branch="main"  \
     --repo-path=clusters/management

bootstrapping fails with error failed to create authentication options for : scheme "" is not supported

► creating client to cluster
✔ created client to cluster: https://127.0.0.1:55365
◎ checking flux
► verifying flux installation
✗ flux installed error: ► checking prerequisites
✔ Kubernetes 1.27.3 >=1.25.0-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
. flux is not bootstrapped in 'flux-system' namespace: more info https://fluxcd.io/flux/installation
◎ bootstrap flux
do you want to bootstrap flux using the generic way: y
◎ flux repository configuration
please enter your flux git https or ssh repository url: https://github.com/enekofb/cli-dev.git
please enter your flux git repository branch (default: main): main
please enter your flux path for your cluster (default: clusters/my-cluster): clusters/management
► configured repo: https://github.com/enekofb/cli-dev.git
◎ git credentials
please enter your git username: enekofb
please enter your git authentication password/token with valid creds: ****************************************
✔ please enter your git authentication password/token with valid creds: ****************************************█
Error: cannot execute bootstrap: cannot execute 'git credentials': failed to bootstrap flux: exit status 1:✗ failed to create authentication options for : scheme "" is not supported

To Reproduce

Run the previous command

Actual behaviour

Bootstrapping fails

Expected behaviour

bootstrapped flux and weave gitops without error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli issues related to gitops ee cli bug Something isn't working severity_medium team/timber-wolf
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants