Comments (5)
Hi @dbarentine, we will read more about how OIDC works, so if I understand you correctly there is external sort of daemon that refreshes your token in kubeconfig periodically.
from kube-forwarder.
@lnikell Yeah essentially. It's not so much a daemon but a webook token authentication that gets called when you try to make an authenticated call via kubectl.
This causes one of two things to happen:
- It forces an authentication (in our case using Microsoft's device login)
- It transparently refreshes the token using the refresh_token in the configuration.
Both result in an updated .kube/config file as the access-token value will be updated. Token expiration I think is 60 minutes so our .kube/config will be updated every 60 minutes if we are actively working with kubectl.
For more information, you can see the AAD Integration here: https://docs.microsoft.com/en-us/azure/aks/concepts-identity#azure-active-directory-integration
Or the Webhook Token Authentication here: https://kubernetes.io/docs/reference/access-authn-authz/authentication/#webhook-token-authentication
from kube-forwarder.
@dbarentine Thank you for clarification, we will try to come up with solution for that.
from kube-forwarder.
Hi, @dbarentine. We have released a new version. Now it's possible to set a path to a file instead of copying its content. I hope the feature will fix your issue. Please, feel free to try the update and share feedback with us. Thanks!
from kube-forwarder.
Closing the issue, It should be resolved in the latest version as Alexandr mentioned.
from kube-forwarder.
Related Issues (20)
- Is this repo maintained? HOT 21
- cannot forward ports on macbook pro m1 HOT 2
- BUG: Failed to connect to kubernetes: can't be fetched HOT 1
- [Feature request] VPN option
- how does this determine a forwarder is active?
- services don't respond to HTTP OPTION, forwarder fails
- Can you trigger a build with latest code ?
- [Question] Web Socket Support?
- Empty icon is shown in GNOME Shell Favorites panel and Window list HOT 1
- Select Listen Address on Windows HOT 1
- Update dependencies, enable security alerts & dependabot
- Flatpak distribution
- Running on Latest version of MacOS
- Forwarding not working but works manually - can you help ?
- Deployments list is not propagated in UI HOT 1
- Feature: Dark Mode
- [Enhancement-request] Add infinite retry to avoid connection drops
- kubectl not found
- DEAD REPO ? NEED HELP / NEW MAINTAINERS ? HOT 4
- Kube forwarder doesn't show anything, don't know why
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 kube-forwarder.