mirror of https://github.com/kubernetes/kops.git
Automatic merge from submit-queue. Support for OIDC 'username-prefix' and 'groups-prefix' flags ### What Added support for `--oidc-username-prefix` and `--oidc-groups-prefix`. By passing these it's possible to override the default prefixes used to map the OIDC user with the username in kubernetes. ### See See: https://kubernetes.io/docs/admin/authentication/#configuring-the-api-server ### IMPORTANT I'm far from a kubernetes/KOPS, this is not tested so someone needs to have a look and see if something is missing or if this can cause troubles! (don't want to accidentally cause the destruction of the universe 💥 ) It's basically the same done in this other PR: https://github.com/kubernetes/kops/pull/1438/files I did **not** change the `zz_generated.conversion.go` files as according to comment at the top of them they're autogenerated: ```go // This file was autogenerated by conversion-gen. Do not edit it manually! ``` (I wonder if they should be `.gitignore`d) ### Fixes This should fix [#4007: field oidcUsernamePrefix is not recognized in cluster configuration file](https://github.com/kubernetes/kops/issues/4007) |
||
|---|---|---|
| .. | ||
| acls | ||
| apis | ||
| apiserver | ||
| assets | ||
| client | ||
| cloudinstances | ||
| diff | ||
| dns | ||
| edit | ||
| featureflag | ||
| flagbuilder | ||
| formatter | ||
| instancegroups | ||
| jsonutils | ||
| k8scodecs | ||
| kopscodecs | ||
| kubeconfig | ||
| kubemanifest | ||
| model | ||
| openapi | ||
| pki | ||
| pretty | ||
| resources | ||
| sshcredentials | ||
| systemd | ||
| templates | ||
| testutils | ||
| util | ||
| validation | ||
| values | ||