Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cloud-deployment-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- name: Install Kind
run: |
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.30.0/kind-linux-amd64
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
kind version
Expand Down
4 changes: 2 additions & 2 deletions examples/cloud-deployment/k8s/02-kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ metadata:
strimzi.io/kraft: enabled
spec:
kafka:
version: 4.0.0
metadataVersion: 4.0-IV0
version: 4.2.0
metadataVersion: 4.2-IV0
listeners:
- name: plain
port: 9092
Expand Down
13 changes: 7 additions & 6 deletions examples/cloud-deployment/scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,13 @@ if ! kubectl get namespace kafka > /dev/null 2>&1; then
fi

if ! kubectl get crd kafkas.kafka.strimzi.io > /dev/null 2>&1; then
echo "Installing Strimzi operator... at https://github.com/strimzi/strimzi-kafka-operator/releases/download/0.50.1/strimzi-cluster-operator-0.50.1.yaml"
curl -sL 'https://github.com/strimzi/strimzi-kafka-operator/releases/download/0.50.1/strimzi-cluster-operator-0.50.1.yaml' \
| sed 's/namespace: .*/namespace: kafka/' \
| kubectl apply -f - -n kafka
# echo "Installing Strimzi operator..."
# kubectl create -f 'https://strimzi.io/install/latest?namespace=kafka' -n kafka
# Keep this around in case we need to hardcode operator version again in the future
# echo "Installing Strimzi operator... at https://github.com/strimzi/strimzi-kafka-operator/releases/download/0.50.1/strimzi-cluster-operator-0.50.1.yaml"
# curl -sL 'https://github.com/strimzi/strimzi-kafka-operator/releases/download/0.50.1/strimzi-cluster-operator-0.50.1.yaml' \
# | sed 's/namespace: .*/namespace: kafka/' \
# | kubectl apply -f - -n kafka
echo "Installing Strimzi operator..."
kubectl create -f 'https://strimzi.io/install/latest?namespace=kafka' -n kafka

echo "Waiting for Strimzi operator deployment to be created..."
for i in {1..30}; do
Expand Down