diff --git a/src/interface/addon.ts b/src/interface/addon.ts index 8585022e4..8e3c577f6 100644 --- a/src/interface/addon.ts +++ b/src/interface/addon.ts @@ -79,4 +79,5 @@ export interface EnableAddonRequest { version: string; properties: Record; clusters?: string[]; + registry?: string; } diff --git a/src/pages/Addons/components/detail/index.tsx b/src/pages/Addons/components/detail/index.tsx index e9f1660ba..2f2dc1ba3 100644 --- a/src/pages/Addons/components/detail/index.tsx +++ b/src/pages/Addons/components/detail/index.tsx @@ -219,6 +219,7 @@ class AddonDetailDialog extends React.Component { name: this.props.addonName, version: this.state.version, properties: values.properties, + registry: this.state.addonDetailInfo?.registryName, }; if (this.state.addonDetailInfo?.deployTo?.runtimeCluster) { params.clusters = this.state.clusters; @@ -248,6 +249,7 @@ class AddonDetailDialog extends React.Component { name: this.props.addonName, version: this.state.version, properties: properties, + registry: this.state.addonDetailInfo?.registryName, }; if (this.state.addonDetailInfo?.deployTo?.runtimeCluster) { params.clusters = this.state.clusters;