Make admin models conditional
@@ -41,6 +41,7 @@ class ComposeOperator(CmdOperator):
env.append(template.format('POLYAXON_SSL_ENABLED', config.ssl.enabled))
env.append(template.format('POLYAXON_SSL_PATH', config.ssl.path))
env.append(template.format('POLYAXON_ADMIN_VIEW_ENABLED', config.adminViewEnabled or False))
+ if config.adminModels:
env.append(template.format('POLYAXON_ADMIN_MODELS', config.adminModels))
if config.timeZone:
env.append(
