From e5c71c781216bb8555482eb5bd1c917b42eeac25 Mon Sep 17 00:00:00 2001 From: Daniel Tschan Date: Sun, 29 Nov 2015 21:04:14 +0100 Subject: Fix validation for BasicAuthPasswordIdentityProvider --- filter_plugins/openshift_master.py | 4 ++-- 1 file 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): -- cgit v1.2.3