- Create a custom user for harbor AND add github connection for argocd
- Install k3s (or any other kubernetes bare metal distro) :
curl -sfL https://get.k3s.io | sh -
Then get the kubeconfig file and set it as KUBECONFIG env variable.
- Create namespaces:
./namespaces/namespaces.sh
- Install helm services :
cd services
# you might need to install argocd repo and bitnami repo
helm repo add sealed-secrets https://bitnami-labs.github.io/sealed-secrets
helm dependency build
helm install services --values ./values.yaml . --namespace services
helm install sealed-secrets -n kube-system --set-string fullnameOverride=sealed-secrets-controller sealed-secrets/sealed-secrets
cd ..
- Install argocd appofapps :
kubectl apply -f ./app-of-apps/project.yaml
kubectl apply -f ./app-of-apps/projects.yaml