使用 ArgoCD ApplicationSet 来管理多环境,包括 Git Generator 和 PR Generator。
https://time.geekbang.org/column/intro/100312001
https://www.bilibili.com/video/BV1Wv4y1y7Kr/?spm_id_from=333.999.0.0
https://yunify.anybox.qingcloud.com/s/AzhJG9gefoqvzWfJNCBXhRgMGyPfl1k9
kind create cluster --config kind/config.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/master/manifests/install.yaml
get password:
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo
access argocd:
kubectl port-forward svc/argocd-server -n argocd 8080:443
username: admin, password: get from above command
kubectl apply -f helm/application.yaml
kubectl apply -f helm-env/applicationset.yaml
kubectl apply -f pr