From 41c9d3200f3ea555c99e030ca4af6ee34f74bb8c Mon Sep 17 00:00:00 2001 From: "aniket.choudhary@ibm.com" Date: Thu, 7 May 2026 23:46:42 +0530 Subject: [PATCH] Add configure_aiassistant parameter to PipelineRun template - Added configure_aiassistant parameter to AI Service section - Parameter is conditionally included when defined and not empty - Enables automatic AiCfg creation when set to 'pipeline' - Fixes issue where parameter was missing from generated PipelineRun YAML --- src/mas/devops/templates/pipelinerun-install.yml.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mas/devops/templates/pipelinerun-install.yml.j2 b/src/mas/devops/templates/pipelinerun-install.yml.j2 index 6a700338..3b9e6f07 100644 --- a/src/mas/devops/templates/pipelinerun-install.yml.j2 +++ b/src/mas/devops/templates/pipelinerun-install.yml.j2 @@ -823,6 +823,10 @@ spec: value: "{{ aiservice_instance_id }}" - name: aiservice_channel value: "{{ aiservice_channel }}" +{%- if configure_aiassistant is defined and configure_aiassistant != "" %} + - name: configure_aiassistant + value: "{{ configure_aiassistant }}" +{%- endif %} - name: environment_type value: "{{ environment_type }}"