Skip to content

Instantly share code, notes, and snippets.

@emilhorlyck
Last active December 26, 2022 13:28
Show Gist options
  • Save emilhorlyck/e9b7838cb69accefbdf9b966600a7fb3 to your computer and use it in GitHub Desktop.
Save emilhorlyck/e9b7838cb69accefbdf9b966600a7fb3 to your computer and use it in GitHub Desktop.
Start Local dev cluster on Mac
#!/usr/bin/env bash
brew install minikube
brew unlink minikube
brew link minikube
minikube start
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
brew install argocd
echo "Access ArgoCD on https://127.0.0.1:8080 with the following credentials"
echo "Username:"
echo "admin"
echo "Admin password:"
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo
kubectl port-forward svc/argocd-server -n argocd 8080:443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment