diff --git a/deploy/kubeless_kafka_setup.sh b/deploy/kubeless_kafka_setup.sh new file mode 100644 index 0000000..164da6c --- /dev/null +++ b/deploy/kubeless_kafka_setup.sh @@ -0,0 +1,5 @@ +#!/bin/bash +kubectl create -f kafka_pv.yml +kubectl create -f zoo_pv.yml +export RELEASE=$(curl -s https://api.github.com/repos/kubeless/kafka-trigger/releases/latest | grep tag_name | cut -d '"' -f 4) +kubectl create -f https://github.com/kubeless/kafka-trigger/releases/download/$RELEASE/kafka-zookeeper-$RELEASE.yaml