Remove deprecated Fission Nats connector (#2403)
We are removing Fission deprecated Nats connector and planning to adopt Keda going forward to have better delegated functionality and more rich support. Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
namespace=$1
|
||||
if [ -z "$namespace" ]
|
||||
then
|
||||
namespace=fission
|
||||
fi
|
||||
|
||||
svc=$1
|
||||
if [ -z "$svc" ]
|
||||
then
|
||||
svc=nats-streaming
|
||||
fi
|
||||
|
||||
port=$2
|
||||
if [ -z "$port" ]
|
||||
then
|
||||
port=8888
|
||||
fi
|
||||
|
||||
kubectl get pods -l svc=$svc -o name --namespace $namespace | \
|
||||
sed 's/^.*\///' | \
|
||||
xargs -I{} kubectl port-forward {} $port:$port -n $namespace &
|
||||
Reference in New Issue
Block a user