Use default namespace to look for config

Change-Id: Ia0975436001730597610ccf0b15d706ce548c83b
This commit is contained in:
Mohammed Naser 2020-05-27 21:11:47 -04:00
parent 442d8b1ade
commit 16725c38c1
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ async def startup_fn(logger, **kwargs):
keystone, heat, and horizon
"""
namespace = os.getenv('OPERATOR_NAMESPACE')
namespace = os.getenv('OPERATOR_NAMESPACE', 'default')
config = utils.get_configmap(namespace, OPERATOR_CONFIGMAP)
config = utils.to_dict(config["operator-config.yaml"])
_create_namespace()