From 829f98bb1e2e69c9ae6e3516d8d4399cfcafdb7b Mon Sep 17 00:00:00 2001 From: Divyesh Khokhar Date: Thu, 19 Mar 2026 14:54:26 +0530 Subject: [PATCH 1/2] [patch] add odh to rhoai migration in mas-update --- src/mas/devops/templates/pipelinerun-update.yml.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/mas/devops/templates/pipelinerun-update.yml.j2 b/src/mas/devops/templates/pipelinerun-update.yml.j2 index 83be320e..ca1f5257 100644 --- a/src/mas/devops/templates/pipelinerun-update.yml.j2 +++ b/src/mas/devops/templates/pipelinerun-update.yml.j2 @@ -135,3 +135,14 @@ spec: - name: skip_entitlement_key_flag value: "{{ skip_entitlement_key_flag }}" {%- endif %} +{%- if aiservice_instance_id is defined and aiservice_instance_id != "" %} + + # AI Service Migration (ODH to RHOAI) + # ------------------------------------------------------------------------- + - name: aiservice_instance_id + value: "{{ aiservice_instance_id }}" +{%- if odh_to_rhoai_migration is defined and odh_to_rhoai_migration != "" %} + - name: odh_to_rhoai_migration + value: "{{ odh_to_rhoai_migration }}" +{%- endif %} +{%- endif %} From ce3a3551035fa849e88b78e609d454e858c2c67f Mon Sep 17 00:00:00 2001 From: Divyesh Khokhar Date: Thu, 19 Mar 2026 15:40:25 +0530 Subject: [PATCH 2/2] [patch] add odh to rhoai migration in mas-update --- src/mas/devops/templates/pipelinerun-update.yml.j2 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/mas/devops/templates/pipelinerun-update.yml.j2 b/src/mas/devops/templates/pipelinerun-update.yml.j2 index ca1f5257..3268e0cc 100644 --- a/src/mas/devops/templates/pipelinerun-update.yml.j2 +++ b/src/mas/devops/templates/pipelinerun-update.yml.j2 @@ -135,14 +135,10 @@ spec: - name: skip_entitlement_key_flag value: "{{ skip_entitlement_key_flag }}" {%- endif %} -{%- if aiservice_instance_id is defined and aiservice_instance_id != "" %} +{%- if odh_to_rhoai_migration is defined and odh_to_rhoai_migration != "" %} # AI Service Migration (ODH to RHOAI) # ------------------------------------------------------------------------- - - name: aiservice_instance_id - value: "{{ aiservice_instance_id }}" -{%- if odh_to_rhoai_migration is defined and odh_to_rhoai_migration != "" %} - name: odh_to_rhoai_migration value: "{{ odh_to_rhoai_migration }}" {%- endif %} -{%- endif %}