mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
10 lines
377 B
Bash
Executable File
10 lines
377 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"
|