This commit is contained in:
Danijel Simeunovic
2026-02-07 21:16:15 +01:00
commit a42a07b669
21 changed files with 849 additions and 0 deletions

43
bootstrap.sh Normal file
View File

@@ -0,0 +1,43 @@
#!/bin/zsh
# in case of $'\r': command not found error, run command below first
# sed -i 's/\r$//' ./bootstrap.sh
echo "running $0..."
nsmon=monitoring
nsistio=istio-system
promport=80
helminit=0
############################################################
# Bootstrap #
############################################################
Bootstrap()
{
ArgoCd
}
############################################################
# Github #
############################################################
Github()
{
echo "Installing secret..."
kubectl apply -f github.yaml
}
############################################################
# ArgoCd #
############################################################
ArgoCd()
{
# install argocd
echo "Installing ArgoCD..."
helm upgrade --install argocd argo-cd \
--repo https://argoproj.github.io/argo-helm \
--namespace argocd --create-namespace \
--values argocd-values.yaml \
--timeout 60s --atomic
}
Bootstrap