Skip to content

Commit a13222e

Browse files
committed
fix: add Guna's update fix
Signed-off-by: Thiago Bertoldi <thiago.bertoldi@suse.com>
1 parent 9e4c172 commit a13222e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pkg/aif-ui/pages/components/AppWizard.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,14 @@ async function loadAIWorkloadDetails() {
405405
if (app?.chartName) form.value.chartName = app.chartName;
406406
if (app?.chartVersion) form.value.chartVersion = app.chartVersion;
407407
if (app?.chartRepo) form.value.chartRepo = app.chartRepo;
408+
// Restore the user's original release name from the CR. The URL query
409+
// parameter (instanceName) contains the AIWorkload CR's metadata.name,
410+
// which includes cluster ID suffixes for downstream deployments (e.g.,
411+
// "qdrant-c-785f4"), but the Helm release name should stay stable across
412+
// upgrades (e.g., "qdrant"). Without this sync, an upgrade would write a
413+
// different releaseName to the HelmOp and Fleet would create a new Helm
414+
// install instead of upgrading the existing release.
415+
if (app?.release) form.value.release = app.release;
408416
409417
// Authoritative deploy strategy from the CR.
410418
if (workload.spec.deployStrategy) {

0 commit comments

Comments
 (0)