Copy of doorman from openshift