expose oauth config in config#1426
Conversation
9051eec to
1448e42
Compare
pkg/cmd/server/api/types.go
Outdated
There was a problem hiding this comment.
RequestHeaderIdentityProvider?
1448e42 to
abd71e1
Compare
|
[test] |
|
Comments addressed. |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_openshift3/1553/) |
|
My kingdom for polymorphism |
|
Ok, I'm pretty happy with this. @deads2k can you add examples of the different identity provider stanzas? @brenton, this would mean that if you want anything other than the default anypassword identity provider, you need to run from config. What's the best time/way for us to coordinate moving the RPM-installed version to run from config files? |
|
I also opened PR deads2k#8 against this branch to warn about deprecating the envvar method of configuring identity providers, and honor (for now) an envvar to deny login |
71c4138 to
a1e754b
Compare
a1e754b to
2ec800e
Compare
|
rebased. |
There was a problem hiding this comment.
open a followup issue for me to make this structured. secrets have to be in pairs (one for signing, one for encryption, with specific length requirements on the encryption key)
|
@deads2k This is user centric or do other parts use this? WRT to users, will |
|
@sdodson no end-user impact, this is purely a cluster-admin config facing |
dd9b4b2 to
0b6e0c8
Compare
|
rebase, then LGTM |
0b6e0c8 to
be39e07
Compare
|
[merge] |
|
Evaluated for origin up to be39e07 |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_openshift3/1363/) (Image: devenv-fedora_1177) |
Merged by openshift-bot
|
Changes Unknown when pulling be39e07 on deads2k:deads-expose-auth-config into * on openshift:master*. |
Exposes the oauth config. I'll add integration tests once we're able to modify the actual config.
Here is an example of how it looks:
https://gist.github.com/deads2k/da5618636ce4bf83c0c2
@liggitt