-
How can I configure the API Server as described in https://kubernetes.io/docs/reference/access-authn-authz/authentication/#configuring-the-api-server? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I haven't tested it but it should be possible. To achieve this, the See the docs for more: |
Beta Was this translation helpful? Give feedback.
-
Thanks for your explanation, we will try that. |
Beta Was this translation helpful? Give feedback.
-
Will be also a solution to change this for an existing cluster? |
Beta Was this translation helpful? Give feedback.
I haven't tested it but it should be possible. To achieve this, the
--oidc-xxx
options need to wrapped with--kube-apiserver-arg
for k3s. Using thecontrol_planes_custom_config
variable on the cluster module should allow you to add these config entries. (This probably only works a newly created cluster)See the docs for more: