From 3d94bf9a399f3e7fa02ede6a0fcc8dc4b6894e43 Mon Sep 17 00:00:00 2001 From: uckingleaf <41126408+uckingleaf@users.noreply.github.com> Date: Wed, 3 Apr 2019 23:45:54 +0200 Subject: [PATCH] Create kubeless_kafka_setup.sh --- deploy/kubeless_kafka_setup.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 deploy/kubeless_kafka_setup.sh 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