applicationset
applicationset copied to clipboard
[Merge Generator] Using pair of different match keys
Hi, First of all, awesome idea and great job with ApplicationSet!
I would like to use merge Generator with cluster and git generators, as matching keys I would like to use cluster's name and path[0] keys. Correct me if I'm wrong, currently it is not possible to match values of 2 different keys.
Setup
added argocd clusters
- cluster1
- cluster2
- cluster3
GitRepo structure
cluster1/
deployments/
NS1/
NS2/
cluster3/
deployments/
test/
Expected result (at least part of it)
- cluster: cluster1
path: cluster1/deployments/NS1
- cluster: cluster1
path: cluster1/deployments/NS2
- cluster: cluster3
path: cluster3/deployments/test