Closed patope closed 2 weeks ago
@patope Very interesting š
Could this be done outside of this project, to me it looks too specific to be included with the project?
Could this be done outside of this project, to me it looks too specific to be included with the project?
Specific? This is one of the most anticipated upcoming features in Kubernetes. https://kubernetes.io/blog/2024/04/25/structured-authentication-moves-to-beta/
This is really hard to-do outside, because configuration file needs to be copied to all control plane nodes and location is passed as command line argument to server.
If there was a way to deliver custom config files on control planes and updates to k3s_exec_server_args
would not require recreation of cluster. Then this could be implemented outside.
Oh, I completely misread the PR. My mistake, thought it was only for GH Actions and not the K8s feature itself. Will take a detailed look when I get some free time.
It's a good one, important. Thanks folks š
Structured authentication configuration allows Kubernetes to support multiple identity providers. To use this feature you'll need version 1.30 of Kubernetes at-least.
Details: https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-authentication-configuration
Example how to use github actions pipeline token to access cluster