From 0c5e45f96e2e9b612e572a3badf6cce286f5fafe Mon Sep 17 00:00:00 2001 From: Rawa Resul Date: Thu, 18 Dec 2025 16:22:58 +0000 Subject: [PATCH] [patch] Make sls_channel optional --- src/mas/devops/templates/pipelinerun-install.yml.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mas/devops/templates/pipelinerun-install.yml.j2 b/src/mas/devops/templates/pipelinerun-install.yml.j2 index 426773e5..d68bd036 100644 --- a/src/mas/devops/templates/pipelinerun-install.yml.j2 +++ b/src/mas/devops/templates/pipelinerun-install.yml.j2 @@ -275,8 +275,10 @@ spec: # Dependencies - SLS # ------------------------------------------------------------------------- +{%- if sls_channel is defined and sls_channel != "" %} - name: sls_channel - value: '3.x' + value: "{{ sls_channel }}" +{%- endif %} {%- if sls_entitlement_file is defined and sls_entitlement_file != "" %} - name: sls_entitlement_file value: "{{ sls_entitlement_file }}"