You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
k3s/e2e/run-test.sh

17 lines
382 B

6 years ago
#!/bin/bash
set -e -x
while [ ! -e /etc/rancher/k3s/k3s.yaml ]; do
echo waiting for config
sleep 1
done
mkdir -p /root/.kube
sed 's/localhost/server/g' /etc/rancher/k3s/k3s.yaml > /root/.kube/config
export KUBECONFIG=/root/.kube/config
cat /etc/rancher/k3s/k3s.yaml
cat $KUBECONFIG
sonobuoy run --sonobuoy-image=rancher/sonobuoy-sonobuoy:v0.19.0
6 years ago
sleep 15
sonobuoy logs -f