Skip to content

rayshoo/argocd-api-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArgoCD API Server

Middleware server to communicate to argocd server

# Base64 encode ARGOCD_PASSWORD
$ echo -n <ARGOCD_PASSWORD> | base64

# Fill in ARGOCD_PASSWORD
$ vim k8s/secret.yaml

# Deploy on K8S Cluster
$ kubectl apply -f k8s/
# Get returns an application by name
$ curl <argocd-api-server url>/app/<appName>

# Get returns an applications by names
$ curl -X GET \
-H "Content-Type: application/json" \
-d '{"argocd-apps":[{"name":"<app1Name>"},{"name":"<app2Name>"}]}' \
<argocd-api-server url>/apps

# Sync an application to its target state
$ curl -X POST <argocd-api-server url>/app/<appName>/sync

About

Middleware server to communicate to argocd server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published