Codefresh providing dashboard for watching on all activities that happens on argocd side. Codefresh argocd agent important part for check all argocd CRD use watch api and notify codefresh about all changes.
Like:
- Application created/removed/updated
- Project created/removed/updated
- Your manifest repo information base on context that you provide to us during installation
In addition this agent do automatic application sync between argocd and codefresh
Make sure that you have
- a Codefresh account with enabled gitops feature
- a Codefresh API token that will be used as a secret in the agent
- a Codefresh CLI that will be used for install agent
- a ArgoCD Server
ArgoCD agent has following resource requirements
resources:
requests:
memory: "256Mi"
cpu: "0.4"
limits:
memory: "512Mi"
cpu: "0.8"
codefresh install gitops argocd-agent
codefresh uninstall gitops argocd-agent
Codefresh will show you indicator inside your gitops integration when you need upgrade your agent
codefresh upgrade gitops argocd-agent
- ARGO_HOST - Argocd host (like https://34.71.103.174/)
- ARGO_USERNAME - Argocd username ( Need provide if ARGO_TOKEN empty )
- ARGO_PASSWORD - Argocd password ( Need provide if ARGO_TOKEN empty )
- ARGO_TOKEN - Argocd user token
- CODEFRESH_TOKEN - Codefresh user token
- CODEFRESH_INTEGRATION - Codefresh gitops integration name
- CODEFRESH_HOST - Codefresh host ( prodution https://g.codefresh.io)
- GIT_PASSWORD - Git token
go test -cover ./...