Skip to content

Commit 04767cb

Browse files
authored
[patch] Make sls_channel optional (#156)
1 parent a08a9c8 commit 04767cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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)