- Run
kubectl apply -k argocd
from the root of this project
- Run
kubectl port-forward svc/argocd-server -n argocd 8080:80
and then go to http://localhost:8080
- Add the
git@github.com:mkue/argocd-example.git
repository manually in the web interface.
- Add following application in the Argo CD web interface:
apiVersion: argoproj.io/v1alpha1
metadata:
name: argo-apps
spec:
destination:
namespace: default
server: 'https://kubernetes.default.svc'
source:
path: argo-apps
repoURL: 'git@github.com:mkue/argocd-example.git'
targetRevision: master
directory:
recurse: true
project: default
syncPolicy:
automated:
prune: true
selfHeal: true