Skip to content

ngn-au/whiplash

Repository files navigation

Whiplash API Server needs the cluster configuration details as a configMap

NOTE: Create your own user config, just make sure it has rights to the namespace: whiplash

kubectl -n whiplash create cm whiplash-cluster-config --from-file=cluster.yaml=.kube/config

The SSH key used by the tunnel client is referenced by 'ssh-master' secret in whiplash namespace

kubectl -n whiplash create secret generic ssh-master --from-file=id_rsa=<YOUR ID KEY FILE>

Finally, apply the deployment of Whiplash

kubectl apply -f operator/whiplash-operator.yaml

Check the pods are running:

kubectl get pods -n whiplash
NAME                        READY   STATUS    RESTARTS   AGE
whiplash-674dd54bbb-kl8g7   2/2     Running   0          11m

When you add a tunnel, Whiplash creates a tiny Pod with one container from "image": "nowsci/sshtunnel"

Screen Shot 2022-11-24 at 11 02 28 am

BUILD IT YOURSELF

npm install

To build to dashboard web directory you must have Ionic CLI installed;

npm install -g @ionic/cli

Build the web directory

ionic build web --prod

Build the Whiplash Dashboard docker image:

docker buildx build --platform=linux/amd64 -t jadsy2107/whiplash .

Build the Whiplash API Server docker image

cd server/
docker buildx build --platform=linux/amd64 -t jadsy2107/whiplash-server .

About

Whiplash - SSH Tunnel Operator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors