Skip to content

Commit

Permalink
[patch] Update supported kafka versions (#1608)
Browse files Browse the repository at this point in the history
Co-authored-by: Harsh Tamakuwala <Harsh.Tamakuwala@ibm.com>
  • Loading branch information
harsh42774 and Harsh Tamakuwala authored Dec 19, 2024
1 parent cf05717 commit b08cda4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ibm/mas_devops/roles/kafka/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ kafka_action: "{{ lookup('env', 'KAFKA_ACTION') | default('install', true) }}"
amq_exists: false # initialize variable
kafka_defaults:
strimzi:
version: "3.7.0" # Supported versions for strimzi-cluster-operator.v0.40.0 are: [3.6.0, 3.6.1, 3.7.0]
version: "3.9.0" # Supported versions for strimzi-cluster-operator.v0.45.0 are: ['3.8.0', '3.8.1', '3.9.0']
namespace: "strimzi"
operator_name: "strimzi-kafka-operator"
alias_name: "Strimzi"
redhat:
version: "3.7.0"
version: "3.9.0"
namespace: "amq-streams"
operator_name: "amq-streams"
alias_name: "Red Hat AMQ Streams"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@
- name: "Creating dictionary while looping over page content"
ignore_errors: true
vars:
url_line: 'td class="description"><a href="https://github.com/strimzi/strimzi-kafka-operator/releases/tag/{{ kafka_csv_version }}'
key: "{{file_lines[my_idx+3] | replace('<td class=\"version\">','') | replace('</td>','') | regex_replace('<td class.*','') | regex_replace('^\\s*','') | regex_replace(' ', '') | split(',') }}"
set_fact:
kafka_supported_versions: "{{ result | default([]) + key }}"
when: '''td class="description"><a href="https://github.com/strimzi/strimzi-kafka-operator/releases/tag/{{ kafka_csv_version }}'' in line_item'
when: url_line in line_item
loop: "{{ file_lines }}"
loop_control:
loop_var: line_item
Expand Down

0 comments on commit b08cda4

Please sign in to comment.