kops/pkg
Kubernetes Submit Queue 2eae62d460
Merge pull request #4085 from xoen/ag-oidc-prefixes-config
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)
2017-12-18 09:37:31 -08:00
..
acls Enabling the file assets 2017-12-17 15:26:57 -07:00
apis Merge pull request #4085 from xoen/ag-oidc-prefixes-config 2017-12-18 09:37:31 -08:00
apiserver gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
assets Enabling the file assets 2017-12-17 15:26:57 -07:00
client Merge pull request #3832 from justinsb/cleanup_ssh 2017-12-17 15:05:09 -08:00
cloudinstances gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
diff gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
dns gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
edit gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
featureflag gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
flagbuilder gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
formatter gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
instancegroups Spelling fix in instancegroups.go error msg 2017-12-07 10:08:15 -05:00
jsonutils gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
k8scodecs gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
kopscodecs gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
kubeconfig Merge pull request #3941 from vainu-arto/private_dns_cert_fix 2017-12-04 06:01:25 -08:00
kubemanifest gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
model Merge pull request #3997 from aledbf/amazon-vpc-cni 2017-12-17 21:41:13 -08:00
openapi openapi doc updates 2017-11-28 11:37:49 -07:00
pki gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
pretty gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
resources Update dnsprovider imports to use our version 2017-12-13 20:43:01 -05:00
sshcredentials Refactor: separate out SSHCredentials from Keyset stores 2017-12-13 20:16:59 -05:00
systemd gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
templates gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
testutils Update gazelle 2017-12-14 01:31:28 -05:00
util gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
validation fixing bazel 2017-12-17 17:03:58 -07:00
values Enabling the file assets 2017-12-17 15:26:57 -07:00