Git Product home page Git Product logo

Comments (4)

mlbiam avatar mlbiam commented on June 12, 2024 1

i see your point. we're working on a new release, which should be out by end of month, that will address this.

from openunison-k8s-login-oidc.

mlbiam avatar mlbiam commented on June 12, 2024

In your values.yaml, k8s_cluster_name can be set to set your cluster name in your .kube/config Assign a different value to this value for each cluster so you can switch clusters without re-authenticating. This helm configuration maps to K8S_CLUSTER_NAME in the orchestra OpenUnison object.

from openunison-k8s-login-oidc.

shi-ron avatar shi-ron commented on June 12, 2024

If I login in e. g. k8s1 and k8s2 with the same username me as config:

clusters:
- cluster:
  name: k8s1
  ...
- cluster:
  name: k8s2
  ...
contexts:
- context:
  name: k8s1
    cluster: k8s1
    user: me
- context:
  name: k8s2
    cluster: k8s2
    user: me
...
users:
- name: me
  user:
     client-certificate-data: ...
     client-key-data: ...

then I need to update token, because user me can save only one token.

I hope the config looks like:

clusters:
- cluster:
  name: k8s1
  ...
- cluster:
  name: k8s2
  ...
contexts:
- context:
  name: k8s1
    cluster: k8s1
    user: me@k8s1
- context:
  name: k8s2
    cluster: k8s2
    user: me@k8s2
...
users:
- name: me@k8s1
  user:
     client-certificate-data: ...
     client-key-data: ...
- name: me@k8s2
  user:
     client-certificate-data: ...
     client-key-data: ...

where the user are me@k8s1 and me@k8s2 respectively. And this should be configured by pasting the command line, not manually, of course.

from openunison-k8s-login-oidc.

mlbiam avatar mlbiam commented on June 12, 2024

The latest release includes this update. Roll out a new version of the Deployment and new containers will get pulled with this feature enabled

from openunison-k8s-login-oidc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.