Skip to content

Commit 0c5e45f

Browse files
committed
[patch] Make sls_channel optional
1 parent e93c898 commit 0c5e45f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,10 @@ spec:
275275

276276
# Dependencies - SLS
277277
# -------------------------------------------------------------------------
278+
{%- if sls_channel is defined and sls_channel != "" %}
278279
- name: sls_channel
279-
value: '3.x'
280+
value: "{{ sls_channel }}"
281+
{%- endif %}
280282
{%- if sls_entitlement_file is defined and sls_entitlement_file != "" %}
281283
- name: sls_entitlement_file
282284
value: "{{ sls_entitlement_file }}"

0 commit comments

Comments
 (0)