From bcd20306505d9be86871d18a6126f12af2ddd024 Mon Sep 17 00:00:00 2001 From: Clemens Peters Date: Wed, 29 Apr 2020 21:22:43 +0200 Subject: [PATCH] :wrench: Reporter script. Add script to create the reporter under the same namespace --- create_reporter.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 create_reporter.sh diff --git a/create_reporter.sh b/create_reporter.sh new file mode 100755 index 0000000..2e1603f --- /dev/null +++ b/create_reporter.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +working_dir=`pwd` + +#Get namesapce variable +tenant=`awk '{print $NF}' $working_dir/tenant_export` + +echo "Creating Reporter on namespace $tenant" +kubectl -n $tenant create -f jmeter_grafana_reporter.yaml