diff --git a/src/frontend/packages/kubernetes/src/kubernetes/workloads/upgrade-release/upgrade-release.component.ts b/src/frontend/packages/kubernetes/src/kubernetes/workloads/upgrade-release/upgrade-release.component.ts index 5b05e01a51..35b4a6bd33 100644 --- a/src/frontend/packages/kubernetes/src/kubernetes/workloads/upgrade-release/upgrade-release.component.ts +++ b/src/frontend/packages/kubernetes/src/kubernetes/workloads/upgrade-release/upgrade-release.component.ts @@ -54,6 +54,8 @@ export class UpgradeReleaseComponent { // Future public showAdvancedOptions = false; + private chartUrl: string; + constructor( store: Store, public helper: HelmReleaseHelperService, @@ -103,6 +105,7 @@ export class UpgradeReleaseComponent { ).pipe( first(), tap(([release, chartVersionDetail]) => { + this.chartUrl = this.chartsService.getChartURL(chartVersionDetail); const schemaUrl = this.chartsService.getChartSchemaURL(chartVersionDetail, chart.name, chart.repo); this.config = { schemaUrl, @@ -137,7 +140,7 @@ export class UpgradeReleaseComponent { version: this.version.attributes.version, }, monocularEndpoint: this.monocularEndpointId === stratosMonocularEndpointGuid ? null : this.monocularEndpointId, - chartUrl: this.chartsService.getChartURL(this.version) + chartUrl: this.chartUrl }; // Make the request