Skip to content

clix-dev-llc/argocd-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArgoCD agent for codefresh gitops dashboard

Codefresh build status

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

Prerequisites

Make sure that you have

ArgoCD agent has following resource requirements

resources:
  requests:
    memory: "256Mi"
    cpu: "0.4"
  limits:
    memory: "512Mi"
    cpu: "0.8"

Installation

codefresh install gitops argocd-agent 

Uninstall

codefresh uninstall gitops argocd-agent 

Upgrade

Codefresh will show you indicator inside your gitops integration when you need upgrade your agent

codefresh upgrade gitops argocd-agent 

How to use the ArgoCD agent

How it works ( Diagram )

Local execution

Environment variables

  • 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

Run tests

go test -cover ./...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published