applicationset
applicationset copied to clipboard
Cluster Resource Generator
Add the ability to generate Applications from downstream cluster resources, eg:
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: monitoring-addon
namespace: argocd
spec:
generators:
- clusterResource:
apiVersion: tenant.io/v1
kind: Tenant
# namespace: <optional>
labelSelector:
matchLabels:
tenant.io/sync: 'true'
apiVersion: tenant.io/v1
kind: Tenant
metadata:
name: tenant1
labels:
tenant.io/sync: 'true'
spec: {}
apiVersion: tenant.io/v1
kind: Tenant
metadata:
name: tenant2
labels:
tenant.io/sync: 'true'
spec: {}
ArgoCD should generate two applications from these resources.