Go to file
2022-10-05 20:27:52 +02:00
_apps kustomize argocd with ksops and age 2022-10-05 20:23:06 +02:00
argocd kustomize argocd with ksops and age 2022-10-05 20:23:06 +02:00
.gitignore configure sops 2022-10-05 20:27:52 +02:00
.sops.yaml configure sops 2022-10-05 20:27:52 +02:00
README.md initial commit 2022-10-05 10:48:24 +02:00

GitOps for tbrnt

Repo structure

  • Each subdirectory is a namespace
  • _apps is the meta directory for Argo CD apps

Usage

Argo CD

Access

Either

sudo -E kubefwd svc -n argocd and then https://argocd-server/

or

kubectl port-forward svc/argocd-server -n argocd 8080:443 and then https://localhost:8080/

CLI

  • argocd login argocd-server
  • argocd app list
  • argocd app sync <name>

Bootstrap GitOps

# install Argo CD
kubectl create ns argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
kubectl get pods -n argocd -l app.kubernetes.io/name=argocd-server -o name | cut -d'/' -f 2
argocd login argocd-server

# Instantiate Argo Root App
kubectl apply -f _apps/apps.yaml