apiVersion: v1
data:
  health.sh: "#!/bin/sh\nif [ $(pgrep autossh | wc -l) -lt 2 ]; then\n  exit 1\nelse\n\
    \  exit 0\nfi\n"
  tunnel.sh: '#!/bin/sh

    sleep 35

    autossh -M 19336 -fNT -R 0.0.0.0:9336:127.0.0.1:9334 -o ExitOnForwardFailure=yes
    -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -i /ssh-tunnel/key incognito@<public
    VM IP that nodes tunnel to>

    autossh -M 19435 -fNT -R 0.0.0.0:9435:127.0.0.1:9433 -o ExitOnForwardFailure=yes
    -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -i /ssh-tunnel/key incognito@<public
    VM IP that nodes tunnel to>

    sleep infinity'
kind: ConfigMap
metadata:
  name: node3-ssh-script
