From dc4b0aae4bbc223b2aba2002bcdd9cd91bd126f3 Mon Sep 17 00:00:00 2001 From: mabulgu Date: Fri, 22 Mar 2024 14:21:56 +0300 Subject: [PATCH] bump strimzi version --- Dockerfile | 2 +- README.md | 2 +- kfk/config.py | 2 +- pyproject.toml | 2 +- tests/files/yaml/kafka-connect.yaml | 2 +- tests/files/yaml/kafka-connect_with_image.yaml | 2 +- tests/files/yaml/kafka-connect_with_three_replicas.yaml | 2 +- tests/files/yaml/kafka-connect_with_zip_jar_plugins.yaml | 2 +- tests/files/yaml/kafka-ephemeral.yaml | 4 ++-- tests/files/yaml/kafka-ephemeral_name_updated.yaml | 4 ++-- .../yaml/kafka-ephemeral_two_additional_configs_deleted.yaml | 4 ++-- .../yaml/kafka-ephemeral_with_one_additional_config.yaml | 4 ++-- tests/files/yaml/kafka-ephemeral_with_one_replica.yaml | 4 ++-- .../yaml/kafka-ephemeral_with_one_replica_one_zk_replica.yaml | 4 ++-- .../yaml/kafka-ephemeral_with_two_additional_configs.yaml | 4 ++-- tests/files/yaml/kafka-ephemeral_with_two_replicas.yaml | 4 ++-- 16 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Dockerfile b/Dockerfile index 010831c..0d28ff4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN apk add --update \ curl \ && rm -rf /var/cache/apk/* RUN adduser -D kfkuser -RUN pip install strimzi-kafka-cli==0.1.0a78 +RUN pip install strimzi-kafka-cli==0.1.0a79 USER kfkuser RUN mkdir /home/kfkuser/.kube RUN curl https://raw.githubusercontent.com/SystemCraftsman/strimzi-kafka-cli/main/tests/files/yaml/kubeconfig -o /home/kfkuser/.kube/config diff --git a/README.md b/README.md index 0782847..1431319 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![Build](https://github.com/systemcraftsman/strimzi-kafka-cli/workflows/Build/badge.svg) ![Deploy](https://github.com/systemcraftsman/strimzi-kafka-cli/workflows/Deploy/badge.svg) [![PyPI](https://img.shields.io/pypi/v/strimzi-kafka-cli)](https://pypi.org/project/strimzi-kafka-cli/) [![Downloads](https://static.pepy.tech/badge/strimzi-kafka-cli)](https://pepy.tech/project/strimzi-kafka-cli) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0) [![Strimzi](https://img.shields.io/badge/Strimzi-0.39.0-blue)](https://github.com/strimzi/strimzi-kafka-operator/releases/tag/0.39.0) [![AMQ Streams](https://img.shields.io/badge/AMQ Streams-2.5.0-red)](https://access.redhat.com/documentation/en-us/red_hat_amq_streams/2.5) +![Build](https://github.com/systemcraftsman/strimzi-kafka-cli/workflows/Build/badge.svg) ![Deploy](https://github.com/systemcraftsman/strimzi-kafka-cli/workflows/Deploy/badge.svg) [![PyPI](https://img.shields.io/pypi/v/strimzi-kafka-cli)](https://pypi.org/project/strimzi-kafka-cli/) [![Downloads](https://static.pepy.tech/badge/strimzi-kafka-cli)](https://pepy.tech/project/strimzi-kafka-cli) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0) [![Strimzi](https://img.shields.io/badge/Strimzi-0.40.0-blue)](https://github.com/strimzi/strimzi-kafka-operator/releases/tag/0.40.0) [![AMQ Streams](https://img.shields.io/badge/AMQ Streams-2.6.0-red)](https://access.redhat.com/documentation/en-us/red_hat_amq_streams/2.6) ![Strimzi CLI logo](https://github.com/SystemCraftsman/strimzi-kafka-cli/assets/10568159/596ea147-9594-4262-a0c3-d63fa14f0577) diff --git a/kfk/config.py b/kfk/config.py index d758feb..32c40dc 100644 --- a/kfk/config.py +++ b/kfk/config.py @@ -3,7 +3,7 @@ import sys from pathlib import Path -STRIMZI_VERSION = "0.39.0" +STRIMZI_VERSION = "0.40.0" KUBECTL_VERSION = "v1.28.3" diff --git a/pyproject.toml b/pyproject.toml index c189afe..9be71af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "strimzi-kafka-cli" -version = "0.1.0-alpha78" +version = "0.1.0-alpha79" description = "Command Line Interface for Strimzi Kafka Operator" authors = [{ name = "Aykut Bulgu", email = "aykut@systemcraftsman.com" }] readme = "README.md" diff --git a/tests/files/yaml/kafka-connect.yaml b/tests/files/yaml/kafka-connect.yaml index 4a04876..0bc33c2 100644 --- a/tests/files/yaml/kafka-connect.yaml +++ b/tests/files/yaml/kafka-connect.yaml @@ -32,4 +32,4 @@ spec: value.converter: org.apache.kafka.connect.json.JsonConverter value.converter.schemas.enable: true replicas: 1 - version: 3.6.1 + version: 3.7.0 diff --git a/tests/files/yaml/kafka-connect_with_image.yaml b/tests/files/yaml/kafka-connect_with_image.yaml index f93ac94..04180e0 100644 --- a/tests/files/yaml/kafka-connect_with_image.yaml +++ b/tests/files/yaml/kafka-connect_with_image.yaml @@ -19,4 +19,4 @@ spec: value.converter.schemas.enable: true image: quay.io/systemcraftsman/test-connect-cluster:latest replicas: 1 - version: 3.6.1 + version: 3.7.0 diff --git a/tests/files/yaml/kafka-connect_with_three_replicas.yaml b/tests/files/yaml/kafka-connect_with_three_replicas.yaml index eabfaf5..42e51d3 100644 --- a/tests/files/yaml/kafka-connect_with_three_replicas.yaml +++ b/tests/files/yaml/kafka-connect_with_three_replicas.yaml @@ -32,4 +32,4 @@ spec: value.converter: org.apache.kafka.connect.json.JsonConverter value.converter.schemas.enable: true replicas: 3 - version: 3.6.1 + version: 3.7.0 diff --git a/tests/files/yaml/kafka-connect_with_zip_jar_plugins.yaml b/tests/files/yaml/kafka-connect_with_zip_jar_plugins.yaml index 21d410d..da7d409 100644 --- a/tests/files/yaml/kafka-connect_with_zip_jar_plugins.yaml +++ b/tests/files/yaml/kafka-connect_with_zip_jar_plugins.yaml @@ -32,4 +32,4 @@ spec: value.converter: org.apache.kafka.connect.json.JsonConverter value.converter.schemas.enable: true replicas: 1 - version: 3.6.1 + version: 3.7.0 diff --git a/tests/files/yaml/kafka-ephemeral.yaml b/tests/files/yaml/kafka-ephemeral.yaml index 62e652f..9b5ccca 100644 --- a/tests/files/yaml/kafka-ephemeral.yaml +++ b/tests/files/yaml/kafka-ephemeral.yaml @@ -4,7 +4,7 @@ metadata: name: my-cluster spec: kafka: - version: 3.6.1 + version: 3.7.0 replicas: 3 listeners: - name: plain @@ -20,7 +20,7 @@ spec: transaction.state.log.replication.factor: 3 transaction.state.log.min.isr: 2 default.replication.factor: 3 - inter.broker.protocol.version: "3.6" + inter.broker.protocol.version: '3.7' min.insync.replicas: 2 storage: type: ephemeral diff --git a/tests/files/yaml/kafka-ephemeral_name_updated.yaml b/tests/files/yaml/kafka-ephemeral_name_updated.yaml index c18664b..0cade68 100644 --- a/tests/files/yaml/kafka-ephemeral_name_updated.yaml +++ b/tests/files/yaml/kafka-ephemeral_name_updated.yaml @@ -9,7 +9,7 @@ spec: kafka: config: default.replication.factor: 3 - inter.broker.protocol.version: '3.6' + inter.broker.protocol.version: '3.7' min.insync.replicas: 2 offsets.topic.replication.factor: 3 transaction.state.log.min.isr: 2 @@ -26,7 +26,7 @@ spec: replicas: 3 storage: type: ephemeral - version: 3.6.1 + version: 3.7.0 zookeeper: replicas: 3 storage: diff --git a/tests/files/yaml/kafka-ephemeral_two_additional_configs_deleted.yaml b/tests/files/yaml/kafka-ephemeral_two_additional_configs_deleted.yaml index d568874..0a49ff1 100644 --- a/tests/files/yaml/kafka-ephemeral_two_additional_configs_deleted.yaml +++ b/tests/files/yaml/kafka-ephemeral_two_additional_configs_deleted.yaml @@ -9,7 +9,7 @@ spec: kafka: config: default.replication.factor: 3 - inter.broker.protocol.version: '3.6' + inter.broker.protocol.version: '3.7' min.insync.replicas: 2 offsets.topic.replication.factor: 3 transaction.state.log.min.isr: 2 @@ -26,7 +26,7 @@ spec: replicas: 3 storage: type: ephemeral - version: 3.6.1 + version: 3.7.0 zookeeper: replicas: 3 storage: diff --git a/tests/files/yaml/kafka-ephemeral_with_one_additional_config.yaml b/tests/files/yaml/kafka-ephemeral_with_one_additional_config.yaml index e2e794e..a148fcf 100644 --- a/tests/files/yaml/kafka-ephemeral_with_one_additional_config.yaml +++ b/tests/files/yaml/kafka-ephemeral_with_one_additional_config.yaml @@ -9,7 +9,7 @@ spec: kafka: config: default.replication.factor: 3 - inter.broker.protocol.version: '3.6' + inter.broker.protocol.version: '3.7' min.insync.replicas: 2 offsets.topic.replication.factor: 3 transaction.state.log.min.isr: 2 @@ -27,7 +27,7 @@ spec: replicas: 3 storage: type: ephemeral - version: 3.6.1 + version: 3.7.0 zookeeper: replicas: 3 storage: diff --git a/tests/files/yaml/kafka-ephemeral_with_one_replica.yaml b/tests/files/yaml/kafka-ephemeral_with_one_replica.yaml index 1cd552f..14d0490 100644 --- a/tests/files/yaml/kafka-ephemeral_with_one_replica.yaml +++ b/tests/files/yaml/kafka-ephemeral_with_one_replica.yaml @@ -9,7 +9,7 @@ spec: kafka: config: default.replication.factor: 1 - inter.broker.protocol.version: '3.6' + inter.broker.protocol.version: '3.7' min.insync.replicas: 1 offsets.topic.replication.factor: 1 transaction.state.log.min.isr: 1 @@ -26,7 +26,7 @@ spec: replicas: 1 storage: type: ephemeral - version: 3.6.1 + version: 3.7.0 zookeeper: replicas: 3 storage: diff --git a/tests/files/yaml/kafka-ephemeral_with_one_replica_one_zk_replica.yaml b/tests/files/yaml/kafka-ephemeral_with_one_replica_one_zk_replica.yaml index c476495..b7d5b13 100644 --- a/tests/files/yaml/kafka-ephemeral_with_one_replica_one_zk_replica.yaml +++ b/tests/files/yaml/kafka-ephemeral_with_one_replica_one_zk_replica.yaml @@ -9,7 +9,7 @@ spec: kafka: config: default.replication.factor: 1 - inter.broker.protocol.version: '3.6' + inter.broker.protocol.version: '3.7' min.insync.replicas: 1 offsets.topic.replication.factor: 1 transaction.state.log.min.isr: 1 @@ -26,7 +26,7 @@ spec: replicas: 1 storage: type: ephemeral - version: 3.6.1 + version: 3.7.0 zookeeper: replicas: 1 storage: diff --git a/tests/files/yaml/kafka-ephemeral_with_two_additional_configs.yaml b/tests/files/yaml/kafka-ephemeral_with_two_additional_configs.yaml index 44490e9..e16d45b 100644 --- a/tests/files/yaml/kafka-ephemeral_with_two_additional_configs.yaml +++ b/tests/files/yaml/kafka-ephemeral_with_two_additional_configs.yaml @@ -9,7 +9,7 @@ spec: kafka: config: default.replication.factor: 3 - inter.broker.protocol.version: '3.6' + inter.broker.protocol.version: '3.7' log.retention.hours: 168 min.insync.replicas: 2 offsets.topic.replication.factor: 3 @@ -28,7 +28,7 @@ spec: replicas: 3 storage: type: ephemeral - version: 3.6.1 + version: 3.7.0 zookeeper: replicas: 3 storage: diff --git a/tests/files/yaml/kafka-ephemeral_with_two_replicas.yaml b/tests/files/yaml/kafka-ephemeral_with_two_replicas.yaml index 75faa27..b8f910a 100644 --- a/tests/files/yaml/kafka-ephemeral_with_two_replicas.yaml +++ b/tests/files/yaml/kafka-ephemeral_with_two_replicas.yaml @@ -9,7 +9,7 @@ spec: kafka: config: default.replication.factor: 2 - inter.broker.protocol.version: '3.6' + inter.broker.protocol.version: '3.7' min.insync.replicas: 1 offsets.topic.replication.factor: 2 transaction.state.log.min.isr: 1 @@ -26,7 +26,7 @@ spec: replicas: 2 storage: type: ephemeral - version: 3.6.1 + version: 3.7.0 zookeeper: replicas: 3 storage: