p3: use bonus scripts

This commit is contained in:
2025-05-14 11:03:06 +02:00
parent 28cafc02b2
commit dbc06f4023
6 changed files with 16 additions and 54 deletions

14
p3/scripts/install.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/env bash
# Install dependancies
command -v docker >/dev/null || sudo pacman -S docker
command -v kubectl >/dev/null || sudo pacman -S kubectl
wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
k3d cluster create
# Install ArgoCD
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
kubectl apply -n argocd -f ./confs/argocd.yaml