diff --git a/agnosticv-operator/operator/agnosticvcomponent.py b/agnosticv-operator/operator/agnosticvcomponent.py index bc8ad1f2a..c05e1f5e1 100644 --- a/agnosticv-operator/operator/agnosticvcomponent.py +++ b/agnosticv-operator/operator/agnosticvcomponent.py @@ -239,6 +239,10 @@ def catalog_requester_parameters(self): def catalog_terms_of_service(self): return self.catalog_meta.get('terms_of_service') + @property + def catalog_workshop_lab_ui_redirect(self): + return self.catalog_meta.get('workshopLabUiRedirect', False) + @property def catalog_workshop_ui_disabled(self): return self.catalog_meta.get('workshopUiDisabled', False) @@ -596,6 +600,9 @@ def __catalog_item_definition(self): if len(self.catalog_owners) > 0: definition['spec']['owners'] = self.catalog_owners + if self.catalog_workshop_lab_ui_redirect: + definition['spec']['workshopLabUiRedirect'] = self.catalog_workshop_lab_ui_redirect + if self.catalog_workshop_ui_disabled: definition['spec']['workshopUiDisabled'] = True else: