homepage/k3d/k3d-up.sh
James Wynn 725189a7b0 Issue with dotnext PVC preventing normal deployments
* fixed k3d-deploy.sh directory reference
2023-01-18 10:05:12 -06:00

9 lines
418 B
Bash
Executable file

#!/bin/bash
k3d cluster create --config k3d.yaml --wait
k3d kubeconfig get homepage > kubeconfig
chmod 600 kubeconfig
export KUBECONFIG=$(pwd)/kubeconfig
echo "Waiting for traefik install job to complete (CTRL+C is safe if you're impatient)"
kubectl wait jobs/helm-install-traefik -n kube-system --for condition=complete --timeout 90s && echo "Completed" || echo "Timed out (but it should still come up eventually)"