diff options
author | Daniel Tschan <tschan@puzzle.ch> | 2015-11-29 21:04:14 +0100 |
---|---|---|
committer | Daniel Tschan <tschan@puzzle.ch> | 2015-12-01 09:43:21 +0100 |
commit | e5c71c781216bb8555482eb5bd1c917b42eeac25 (patch) | |
tree | 61144c55521aff164e910837b87790c09793e77e | |
parent | ebf659b0c1775f9be3e52a8ef420d568656c10f9 (diff) | |
download | openshift-e5c71c781216bb8555482eb5bd1c917b42eeac25.tar.gz openshift-e5c71c781216bb8555482eb5bd1c917b42eeac25.tar.bz2 openshift-e5c71c781216bb8555482eb5bd1c917b42eeac25.tar.xz openshift-e5c71c781216bb8555482eb5bd1c917b42eeac25.zip |
Fix validation for BasicAuthPasswordIdentityProvider
-rw-r--r-- | filter_plugins/openshift_master.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter_plugins/openshift_master.py b/filter_plugins/openshift_master.py index 76fe610a0..f12017967 100644 --- a/filter_plugins/openshift_master.py +++ b/filter_plugins/openshift_master.py @@ -290,8 +290,8 @@ class BasicAuthPasswordIdentityProvider(IdentityProviderBase): def __init__(self, api_version, idp): IdentityProviderBase.__init__(self, api_version, idp) self._allow_additional = False - self._required += [['ca'], ['certFile', 'cert_file'], ['keyFile', 'key_file']] - self._optional += [['key']] + self._required += [['url']] + self._optional += [['ca'], ['certFile', 'cert_file'], ['keyFile', 'key_file']] class IdentityProviderOauthBase(IdentityProviderBase): |