Skip to content

A small Argo CD CLI utility, built on top of Argo CD Go packages, that can be used to preview the Kubernetes resources generated from an ApplicationSet, without the need to connect to an actual Argo CD server.

License

Notifications You must be signed in to change notification settings

touchardv/argocd-offline-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

argocd-offline-cli

A small Argo CD CLI utility, built on top of Argo CD Go packages, that can be used to preview the Kubernetes resources generated from an ApplicationSet, without the need to connect to an actual Argo CD server.

Requirements

Limitations

Only a few generators and Helm source repositories are supported.

Usage

Configuration

The HELM_REPO_USERNAME and HELM_REPO_PASSWORD environment variables can be specified in order to provide the default credentials that should be used to authenticate to Helm repositories. If not specified, the local helm command settings may be used to authenticate (if present).

Preview Application(s) from an ApplicationSet

argocd-offline-cli appset preview-apps /path/to/application-set-manifest

Example: filter by application name

argocd-offline-cli appset preview-apps /path/to/application-set-manifest -n app-name

Example: filter by application name, display in yaml format

argocd-offline-cli appset preview-apps /path/to/application-set-manifest -n app-name -o yaml

Preview Resource manifest(s) from an ApplicationSet

argocd-offline-cli appset preview-resources /path/to/application-set-manifest

About

A small Argo CD CLI utility, built on top of Argo CD Go packages, that can be used to preview the Kubernetes resources generated from an ApplicationSet, without the need to connect to an actual Argo CD server.

Topics

Resources

License

Stars

Watchers

Forks