Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

[Merge Generator] Using pair of different match keys #579

Open
Vladyslav-Miletskyi opened this issue Apr 27, 2022 · 0 comments
Open

[Merge Generator] Using pair of different match keys #579

Vladyslav-Miletskyi opened this issue Apr 27, 2022 · 0 comments

Comments

@Vladyslav-Miletskyi
Copy link

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant