p3: use bonus scripts
This commit is contained in:
14
p3/scripts/install.sh
Normal file
14
p3/scripts/install.sh
Normal 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
|
Reference in New Issue
Block a user