diff --git a/web/src/polaris/namespace/model.ts b/web/src/polaris/namespace/model.ts index 73cfaee..6251f47 100644 --- a/web/src/polaris/namespace/model.ts +++ b/web/src/polaris/namespace/model.ts @@ -16,6 +16,7 @@ export interface CreateNamespaceParams { user_ids?: string[] group_ids?: string[] service_export_to?: string[] + sync_to_global_registry?: boolean } export interface CreateNamespaceResult { namespace: Namespace @@ -29,6 +30,7 @@ export interface ModifyNamespaceParams { remove_user_ids?: string[] remove_group_ids?: string[] service_export_to?: string[] + sync_to_global_registry?: boolean } export interface ModifyNamespaceResult { size: number diff --git a/web/src/polaris/namespace/operation/CreateDuck.ts b/web/src/polaris/namespace/operation/CreateDuck.ts index d88fa7a..7fd5efb 100644 --- a/web/src/polaris/namespace/operation/CreateDuck.ts +++ b/web/src/polaris/namespace/operation/CreateDuck.ts @@ -70,6 +70,7 @@ export default class CreateDuck extends FormDialog { remove_user_ids: removeUserIds, remove_group_ids: removeGroupIds, service_export_to, + sync_to_global_registry: values.sync_to_global_registry, }, ]), ) @@ -83,6 +84,7 @@ export default class CreateDuck extends FormDialog { user_ids: userIds, group_ids: groupIds, service_export_to, + sync_to_global_registry: values.sync_to_global_registry, }, ]), )