Comments (5)
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.
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.
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.
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.
@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)
- Doc Bug Architecture.md HOT 3
- Doc Bug Getting_Started-Running_Locally.md HOT 2
- Enhancement - Getting_Started-Running_Locally.md - SELinux HOT 2
- Make workspace builder aware of CloudQuery premium vs free tables
- Design document for handling CloudQuery premium tables in open core source plugins
- Include information about gen rules that are suppressed in warning for disallowed access to a CQ premium table
- Add mechanism to report warnings during successful execution of workspace builder
- Dump/load support for resource database in workspace builder
- Unit test framework for the generation rules code in the workspace builder
- Tool to validate all of the generation rule files in a code collection against the JSON/YAML schema
- [runwhen-local-feedback] Test and document proxy configuration HOT 11
- [runwhen-local-feedback] Cannot run in OpenShift - errors with port 8081
- [runwhen-local-feedback] SLX names include "|" HOT 1
- [runwhen-local-feedback] Upload to RunWhen Platform / Missing secrets / configProvided
- [runwhen-local-feedback] Create slim image
- [runwhen-local-feedback] Rewrite homepage - align with the codecollection registry at registry.runwhen.com
- [runwhen-local-feedback] Fix dark mode css on new UI
- [runwhen-local-feedback] Error 500 from Workspace Builder service for command "run": join() argument must be str, bytes, or os.PathLike object, not 'list'
- [runwhen-local-feedback] fix kubeconfig generation with helm chart customized name
- Support for assuming roles in the AWS indexer for the workspace builder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from runwhen-local.