Skip to content

Commit 41c9d32

Browse files
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
1 parent 7a16972 commit 41c9d32

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/mas/devops/templates/pipelinerun-install.yml.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,10 @@ spec:
823823
value: "{{ aiservice_instance_id }}"
824824
- name: aiservice_channel
825825
value: "{{ aiservice_channel }}"
826+
{%- if configure_aiassistant is defined and configure_aiassistant != "" %}
827+
- name: configure_aiassistant
828+
value: "{{ configure_aiassistant }}"
829+
{%- endif %}
826830

827831
- name: environment_type
828832
value: "{{ environment_type }}"

0 commit comments

Comments
 (0)