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

Ability to add IBM Cluster #48

Closed
harshmaur opened this issue Mar 18, 2020 · 7 comments · Fixed by #53
Closed

Ability to add IBM Cluster #48

harshmaur opened this issue Mar 18, 2020 · 7 comments · Fixed by #53
Labels
enhancement New feature or request

Comments

@harshmaur
Copy link

Hey! This looks like a great app to be able to manage kubernetes cluster from a mobile app. Is there a way to add a cluster on IBM Cloud?

@ricoberger ricoberger added the enhancement New feature or request label Mar 18, 2020
@ricoberger
Copy link
Member

Hi @harshmaur, atm IBM is not supported by the mobile version of kubenav. The desktop version should support IBM Cloud.

I personally have no experience with IBM Cloud, could you maybe share a corresponding Kubeconfig file? Which authentication method do they use?

Maybe you can also try the workaround via Service Account: #14 (comment)

@harshmaur
Copy link
Author

@ricoberger I can share the kubeconfig file with you. Let me know how do I do that.

@ricoberger
Copy link
Member

Hi, thank you. It would be enough if you post the structure of the file in this issue, without credentials, etc.

@harshmaur
Copy link
Author

apiVersion: v1
clusters:
- name: xxxxxx/xxxxxxxx
  cluster:
    certificate-authority: xx-xxxxx-xxxxxxxxx.pem
    server: https://xx.xx-xx.containers.cloud.ibm.com:xxxxx
contexts:
- name: xxxxxx/xxxxxxxx
  context:
    cluster: xxxxxx/xxxxxxxx
    user: harsh@8om.io/xxxxxxxxxxxxxxxxxx
    namespace: default
current-context: xxxxxx/xxxxxxxx
kind: Config
users:
- name: harsh@8om.io/xxxxxxxxxxxxxxxxxx
  user:
    auth-provider:
      name: oidc
      config:
        client-id: kube
        client-secret: kube
        id-token: <complete token>
        idp-issuer-url: https://iam.cloud.ibm.com/identity
        refresh-token: <complete token>

@ricoberger
Copy link
Member

Hi @harshmaur I finally found some time to finish the OIDC support for kubenav. With the new version of kubenav it will be possible to use IBM clusters. I will submit the new version to the App Store and Google Play this week, so that they should be available at the end of the week at the latest.

Since I haven't found a way to create a client id and client secret at IBM cloud, I used the workaround and provided my existing refresh token.

Without a refresh token I tested the OIDC feature for Google. If you know a way to create the client id and secret at IBM cloud, I would test this too.

@uhlhosting
Copy link

@ricoberger maybe they from http://kui.tools know more about this. or their modules/plugins can help to get the details needed.

@ricoberger
Copy link
Member

Hi @uhlhosting, thanks for sharing 🙂

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

Successfully merging a pull request may close this issue.

3 participants