Requirements:
-
minikube
-
helm
-
kubectl
-
git
setup local directory and minikube
git clone https://github.com/romanigk/minikube-argocd-traefik-example
minikube start --driver=dockerinstall 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-cdport 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 -dinstall root app
kubectl apply -f charts/root/templates/root.yamlunmanage bootstrap helm installation
kubectl delete secret -l owner=helm,name=argo-cdtraefik dashboard
kubectl port-forward $(kubectl get pods --selector "app.kubernetes.io/name=traefik" --output=name) 9000:9000