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

Unable to use kubebox with k3d cluster #67

Closed
lduparc opened this issue Nov 1, 2019 · 2 comments
Closed

Unable to use kubebox with k3d cluster #67

lduparc opened this issue Nov 1, 2019 · 2 comments
Labels

Comments

@lduparc
Copy link

lduparc commented Nov 1, 2019

We are unable to use kubebox with a k3d cluster.

we've got unable to verify certificate when we try to login to the k3d cluster.

@astefanutti
Copy link
Owner

I've tried connecting to a k3d cluster. I haven't been able to reproduce the unable to verify certificate error, but I've faced the issue that Kubebox does not currently support basic auth.

I've just pushed 87cbef8 to provide support for basic auth, and been able to connect to a local k3d cluster:

Screenshot 2019-11-14 at 13 04 47

With:

$ k3d create
...
$ cat `k3d get-kubeconfig --name='k3s-default'`
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJWakNCL3FBREFnRUNBZ0VBTUFvR0NDcUdTTTQ5QkFNQ01DTXhJVEFmQmdOVkJBTU1HR3N6Y3kxelpYSjIKWlhJdFkyRkFNVFUzTXpjeU16ZzFOVEFlRncweE9URXhNVFF3T1RNd05UVmFGdzB5T1RFeE1URXdPVE13TlRWYQpNQ014SVRBZkJnTlZCQU1NR0dzemN5MXpaWEoyWlhJdFkyRkFNVFUzTXpjeU16ZzFOVEJaTUJNR0J5cUdTTTQ5CkFnRUdDQ3FHU000OUF3RUhBMElBQk0yMlpGNkpQT1YyUXNlaDNoakJlT295aGFDUVZqZjJOa3pjeXJleTl4NFIKcWduTHpPcEdmQzJoTTBKa0tPbUcwOGcwMkZTek9ZZTJHRlVUM1dTbG83YWpJekFoTUE0R0ExVWREd0VCL3dRRQpBd0lDcERBUEJnTlZIUk1CQWY4RUJUQURBUUgvTUFvR0NDcUdTTTQ5QkFNQ0EwY0FNRVFDSUYvTVg1WUFqM0pkCm5qUy9RRWdtbkI2Sjh3ekthTWlIcW5IdFBJTkw4WUl0QWlBNzJoUDlxbyt0b2p1QTRUeFc5RjhPcWtJOGZBV2gKdiszUGtGVEpSN0V1S0E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
    server: https://127.0.0.1:6443
  name: default
contexts:
- context:
    cluster: default
    user: default
  name: default
- context:
    cluster: default
    namespace: default
    user: default
  name: default/default/default
current-context: default/default/default
kind: Config
preferences: {}
users:
- name: default
  user:
    password: REDACTED
    username: admin

This will be available in the next release.

Thanks a lot for the report and your patience!

@astefanutti
Copy link
Owner

This is available in 0.7.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants