Pārlūkot izejas kodu

Merge pull request #8087 from mgugino-upstream-stage/fix-htpasswd

Add missing attribute on htpasswd object
Michael Gugino 7 gadi atpakaļ
vecāks
revīzija
ed24732947

+ 1 - 0
roles/lib_utils/filter_plugins/openshift_master.py

@@ -278,6 +278,7 @@ class HTPasswdPasswordIdentityProvider(IdentityProviderBase):
         idp['filename'] = '/etc/origin/master/htpasswd'
         idp['filename'] = '/etc/origin/master/htpasswd'
         super(HTPasswdPasswordIdentityProvider, self).__init__(api_version, idp)
         super(HTPasswdPasswordIdentityProvider, self).__init__(api_version, idp)
         self._allow_additional = False
         self._allow_additional = False
+        self._required += [['filename']]
 
 
     @staticmethod
     @staticmethod
     def get_default(key):
     def get_default(key):