diff --git a/docs/argocd/argocd.md b/docs/argocd/argocd.md new file mode 100644 index 0000000..d61b672 --- /dev/null +++ b/docs/argocd/argocd.md @@ -0,0 +1,80 @@ +# ArgoCD + +## Install ArgoCD + +```bash +kubectl create namespace argocd +kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml +``` + +## Get initial admin password + +```bash +kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d +``` + +## Boostrap the ArgoCD configuration using a Git repository + +The manifests for the ArgoCD configuration are stored in a git repository. The repository in this example is located at +`https://gitlab.simoncor.net/kaas/argocd.git` and the path within the repository is `argocd/`. + +In this subfolder we have an ArgoCD Application manifest which bootstraps the ArgoCD configuration. +We also have other manifests for configuring ArgoCD ingress configuration and applications. + +```bash +kubectl apply -f - <