Requirements:
-
minikube
-
helm
-
kubectl
-
git
setup local directory and minikube
git clone https://github.com/romanigk/minikube-argocd-traefik-example
minikube start --driver=docker
install argocd
helm repo add argo-cd https://argoproj.github.io/argo-helm
helm repo update
(cd charts/bootstrap-argo-cd ; helm dependency update)
helm install argo-cd charts/bootstrap-argo-cd
port forward & password
kubectl port-forward service/argo-cd-argocd-server -n default 8080:443 &
kubectl -n default get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
install root app
kubectl apply -f charts/root/templates/root.yaml
unmanage bootstrap helm installation
kubectl delete secret -l owner=helm,name=argo-cd
traefik dashboard
kubectl port-forward $(kubectl get pods --selector "app.kubernetes.io/name=traefik" --output=name) 9000:9000