mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-17 02:09:49 +00:00
added k3d test scripts
This commit is contained in:
parent
98ce0e8c2e
commit
b724f520cd
12 changed files with 283 additions and 0 deletions
9
k3d/k3d-up.sh
Executable file
9
k3d/k3d-up.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/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"
|
Loading…
Add table
Add a link
Reference in a new issue