Skip to content

Commit 3838219

Browse files
authored
Quote the channel name when syncing an operator index. (#761)
Some operators have a number for channel name such as 4.20 which will be interpreted as 4.2 and thus requires quotes. Assisted-by: Cursor (Claude)
1 parent b30ce96 commit 3838219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/roles/sync-operator-index/templates/imagesetconf.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ mirror:
1414
{% endif %}
1515
channels:
1616
{% for channel in package.channels %}
17-
- name: {{ channel.name }}
17+
- name: "{{ channel.name }}"
1818
minVersion: {{ channel.minVersion }}
1919
maxVersion: {{ channel.maxVersion }}
2020
{% endfor %}

0 commit comments

Comments
 (0)