Giter VIP home page Giter VIP logo

Comments (5)

stewartshea avatar stewartshea commented on June 1, 2024 1

Thanks for opening the issue @stebo85 and for the additional detail, that's super helpful to get us towards a working solution. The script itself is going to need to handle a number of providers that now use the auth plugin approach, so this is very helpful!

I'll start work on this and let you know when I have something for you to test. It's a little more complicated than the gke utility (which doesn't require any additional parameters), but I'm sure we should be able to work it out.

from runwhen-local.

stewartshea avatar stewartshea commented on June 1, 2024

Added a new script to this repo and will update the docs to pull the script from the repo, as it will need to updated as frequently as we need to add new auth plugin providers.

from runwhen-local.

stewartshea avatar stewartshea commented on June 1, 2024

The new script is here: https://github.com/runwhen-contrib/runwhen-local/blob/main/deploy/scripts/gen_rw_kubeconfig.sh
Docs have been updated here: https://docs.runwhen.com/public/runwhen-local/getting-started/running-locally#generating-your-kubeconfig

@stebo85 I tested a kubeconfig with both an oke cluster and a gke cluster with positive results. Can you have a look at the new instructions and let me know if this works for you?

from runwhen-local.

stebo85 avatar stebo85 commented on June 1, 2024

Dear @stewartshea,

Thank you so much for the new script. I was able to test it and it works beautifully :) The cheat sheet is a fantastic troubleshooting help!

Maybe one little cosmetic change:
I get this error, which makes sense and doesn't break the script, but maybe it could be caught by the script and handled.

./gen_rw_kubeconfig.sh: line 68: gke-gcloud-auth-plugin: command not found

Thank you so much!
Kind regards
Steffen

from runwhen-local.

stewartshea avatar stewartshea commented on June 1, 2024

@stebo85 I'm glad this worked for you --- as we grow the tool and it's capabilities, please do continue to contribute (either commands you already know and wish they were in the tool, or requets for commands that you wish you had).

The feedback on the error above is also appreciated, I'll track this separately and make some improvements.

from runwhen-local.

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.