From 2b64c2ba050400a378a0fbb6495d5fea26dbad5a Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Sat, 21 Jul 2018 15:47:48 +0200 Subject: [PATCH] More places, Kafka 1.0.2 --- avro-tools/test/rest-curl.yml | 2 +- maintenance/preferred-replica-election-job.yml | 2 +- maintenance/reassign-paritions-job.yml | 2 +- maintenance/replication-factor-increase-job.yml | 2 +- update-kafka-image.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/avro-tools/test/rest-curl.yml b/avro-tools/test/rest-curl.yml index a1e5c6ad..7a42219b 100644 --- a/avro-tools/test/rest-curl.yml +++ b/avro-tools/test/rest-curl.yml @@ -114,7 +114,7 @@ spec: spec: containers: - name: topic-create - image: solsson/kafka:1.0.1@sha256:1a4689d49d6274ac59b9b740f51b0408e1c90a9b66d16ad114ee9f7193bab111 + image: solsson/kafka:1.0.2@sha256:7fdb326994bcde133c777d888d06863b7c1a0e80f043582816715d76643ab789 command: - ./bin/kafka-topics.sh - --zookeeper diff --git a/maintenance/preferred-replica-election-job.yml b/maintenance/preferred-replica-election-job.yml index 7ebb2108..f3cfa83e 100644 --- a/maintenance/preferred-replica-election-job.yml +++ b/maintenance/preferred-replica-election-job.yml @@ -10,7 +10,7 @@ spec: spec: containers: - name: kafka - image: solsson/kafka:1.0.1@sha256:1a4689d49d6274ac59b9b740f51b0408e1c90a9b66d16ad114ee9f7193bab111 + image: solsson/kafka:1.0.2@sha256:7fdb326994bcde133c777d888d06863b7c1a0e80f043582816715d76643ab789 command: - ./bin/kafka-preferred-replica-election.sh - --zookeeper diff --git a/maintenance/reassign-paritions-job.yml b/maintenance/reassign-paritions-job.yml index e9029126..317d9110 100644 --- a/maintenance/reassign-paritions-job.yml +++ b/maintenance/reassign-paritions-job.yml @@ -10,7 +10,7 @@ spec: spec: containers: - name: kafka - image: solsson/kafka:1.0.1@sha256:1a4689d49d6274ac59b9b740f51b0408e1c90a9b66d16ad114ee9f7193bab111 + image: solsson/kafka:1.0.2@sha256:7fdb326994bcde133c777d888d06863b7c1a0e80f043582816715d76643ab789 env: - name: ZOOKEEPER value: zookeeper.kafka:2181 diff --git a/maintenance/replication-factor-increase-job.yml b/maintenance/replication-factor-increase-job.yml index 51e583fb..00a13ae8 100644 --- a/maintenance/replication-factor-increase-job.yml +++ b/maintenance/replication-factor-increase-job.yml @@ -10,7 +10,7 @@ spec: spec: containers: - name: kafka - image: solsson/kafka:1.0.1@sha256:1a4689d49d6274ac59b9b740f51b0408e1c90a9b66d16ad114ee9f7193bab111 + image: solsson/kafka:1.0.2@sha256:7fdb326994bcde133c777d888d06863b7c1a0e80f043582816715d76643ab789 env: - name: ZOOKEEPER value: zookeeper.kafka:2181 diff --git a/update-kafka-image.sh b/update-kafka-image.sh index 3a298252..87c2f504 100755 --- a/update-kafka-image.sh +++ b/update-kafka-image.sh @@ -5,6 +5,6 @@ IMAGE=$1 [[ $IMAGE != solsson/kafka:* ]] && echo "Should be the full image identifier" && exit 1 -for F in kafka/ kafka/test/ zookeeper/; do +for F in kafka/ kafka/test/ zookeeper/ avro-tools/test/ maintenance/; do sed -i "s|image: solsson/kafka:.*|image: $IMAGE|" $F*.yml done