The ApplicationSet controller manages multiple Argo CD Applications as a single ApplicationSet unit, supporting deployments to large numbers of clusters, deployments of large monorepos, and enabling secure Application self-service. https://argocd-applicationset.readthedocs.io/
  • Go 96.4%
  • Shell 1.7%
  • Makefile 1.2%
  • Dockerfile 0.4%
  • Go Template 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Saburesh07 ff82f542e2
Added fork_note_to_readme (#2)
Signed-off-by: Saburesh07 <220188172+Saburesh07@users.noreply.github.com>
2025-12-01 08:42:37 -05:00
.github/workflows.disabled Renamed .github/workflows to .github/workflows.disabled (#3) 2025-12-01 08:41:16 -05:00
api/v1alpha1 Feat/pull request generator (#366) 2021-09-28 22:37:03 -04:00
charts/guestbook Add helm chart sample 2021-10-13 22:37:03 -04:00
common feat: refresh ApplicationSet resource with git generator using webhook (#341) 2021-09-07 08:48:41 -04:00
docs Update release process docs and include release checklist in docs (#365) 2021-09-29 22:37:18 -04:00
examples Add in-cluster 2021-10-10 15:37:24 -04:00
hack Update master branch VERSION file and metadata, and pull up release changes from 0.2.0 (#343) 2021-08-23 09:24:27 -04:00
manifests Feat/pull request generator (#366) 2021-09-28 22:37:03 -04:00
pkg Feat/pull request generator (#366) 2021-09-28 22:37:03 -04:00
test/e2e Skip E2E tests that require GitHub token, if not specified (#380) 2021-09-29 22:41:07 -04:00
.dockerignore Provide SHA for latest commit on a branch in variables (#307) 2021-09-07 10:55:14 -04:00
.gitignore fix docker file (#14) 2020-08-12 14:54:23 -03:00
.golangci.yml Check path exists passed in application spec (#253) 2021-06-03 08:45:58 -04:00
.readthedocs.yml Add readthedocs/mkdocs integration to the documentation (#130) 2021-02-19 01:27:43 -05:00
CHANGELOG.md Update master branch VERSION file and metadata, and pull up release changes from 0.2.0 (#343) 2021-08-23 09:24:27 -04:00
Dockerfile Update Dockerfile to latest Argo CD base and better cleanup apt dependencies (#302) 2021-07-21 07:59:59 -04:00
go.mod feat: refresh ApplicationSet resource with git generator using webhook (#341) 2021-09-07 08:48:41 -04:00
go.sum feat: refresh ApplicationSet resource with git generator using webhook (#341) 2021-09-07 08:48:41 -04:00
LICENSE Add Apache 2 LICENSE file. (#54) 2020-09-27 11:32:34 +08:00
main.go Feat/pull request generator (#366) 2021-09-28 22:37:03 -04:00
Makefile Log appset version during controller startup log (#241) 2021-06-18 11:52:09 -04:00
mkdocs.yml Update release process docs and include release checklist in docs (#365) 2021-09-29 22:37:18 -04:00
PROJECT kubebuilder 2 (#93) 2021-01-18 20:22:28 +02:00
README.md Added fork_note_to_readme (#2) 2025-12-01 08:42:37 -05:00
VERSION Update master branch VERSION file and metadata, and pull up release changes from 0.2.0 (#343) 2021-08-23 09:24:27 -04:00

Archived 3rd-Party Fork

This repository is an archived copy of a 3rd-party open-source project that Progress Chef contributed to.

It was archived as part of the Repository Standardization Initiative.

No further contributions are anticipated to be made.

Argo CD ApplicationSet Controller

The ApplicationSet controller is a Kubernetes controller that adds support for a new custom ApplicationSet CustomResourceDefinition (CRD). This controller/CRD enables both automation and greater flexibility when managing Argo CD Applications across a large number of clusters and within monorepos, plus it makes self-service usage possible on multitenant Kubernetes clusters.

The ApplicationSet controller provides the ability:

  • To deploy Argo CD Applications to multiple Kubernetes clusters at once
  • To deploy multiple Argo CD applications from a single monorepo
  • Allows unprivileged cluster users (those without access to the Argo CD namespace) to deploy Argo CD applications without the need to involve cluster administrators in enabling the destination clusters/namespaces
  • Best of all, all these features are controlled by only a single instance of an ApplicationSet custom resource, which means no more juggling of multiple Argo CD Application resources to target those multiple clusters/repos!

Unlike with an Argo CD Application resource, which deploys resources from a single Git repository to a single destination cluster/namespace, ApplicationSet uses templated automation to create, modify, and manage multiple Argo CD applications at once.

If you are loving Argo CD and want to use ApplicationSet's automation and templating to take your usage to the next level, give the ApplicationSet controller a shot!

Example Spec:

# This is an example of a typical ApplicationSet which uses the cluster generator.
# An ApplicationSet is comprised with two stanzas:
#  - spec.generator - producer of a list of values supplied as arguments to an app template
#  - spec.template - an application template, which has been parameterized
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
  name: guestbook
spec:
  generators:
  - clusters: {} # This is a generator, specifically, a cluster generator.
  template: 
    # This is a template Argo CD Application, but with support for parameter substitution.
    metadata:
      name: '{{name}}-guestbook'
    spec:
      project: "default"
      source:
        repoURL: https://github.com/argoproj/argocd-example-apps/
        targetRevision: HEAD
        path: guestbook
      destination:
        server: '{{server}}'
        namespace: guestbook

The Cluster generator generates parameters, which are substituted into {{parameter name}} values within the template: section of the ApplicationSet resource. In this example, the cluster generates name and server parameters (containing the name and API URL for the target cluster), which are then substituted into the template's {{name}} and {{server}} values, respectively.

The parameter generation via multiple sources (cluster, list, git repos), and the use of those values within Argo CD Application templates, is a powerful combination. Learn more about generators and template, the Cluster generator and various other ApplicationSet generators, and more, from the ApplicationSet documentation.

Documentation

Take a look at our introductory blog post, Introducing the ApplicationSet Controller for Argo CD.

Check out the complete documentation for a complete introduction, how to setup and run the ApplicationSet controller, how it interacts with Argo CD, generators, templates, use cases, and more.

Community

The ApplicationSet controller is a community-driven project. You can reach the Argo CD ApplicationSet community and developers via the following channels:

We'd love to have you join us!

Development builds

Development builds can be installed by running the following command:

kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/applicationset/master/manifests/install.yaml

Commits to the master branch will automatically push new container images to the container registry used by this install, and see this link for automatically updated documentation for these builds. See Development builds for more details.

Development

Learn more about how to setup a development environment, build the ApplicationSet controller, and run the unit/E2E tests.

Our end goal is to provide a formal solution to replace the app-of-apps pattern. You can learn more about the founding principles of the ApplicationSet controller from the original design doc.

This project will initially be maintained separately from Argo CD, in order to allow quick iteration of the spec and implementation, without tying it to Argo CD releases. No promises of backwards compatibility are made, at least until merging into Argo CD proper.