Merge generator where a generator can reference items of another one
jpcosal opened this issue · 1 comments
jpcosal commented
Very much like what's been added for the Matrix generator here, it would be nice to have the same for the Merge generator.
Something like
generators:
- merge:
mergeKeys:
- name
generators:
- git:
repoURL: https://github.com/my_org/my_repo.git
revision: my_revision
files:
- path: path/*.yaml
- git:
repoURL: https://github.com/my_org/my_repo2.git
revision: '{{sha}}'
files:
- path: path2/**/file.yaml
Notice the {{sha}}
reference in the second generator.
cf original issue for merge generator here
This is currently not possible, if I'm not mistaken?
I'd gladly create a PR for that.
jpcosal commented
Reposting on https://github.com/argoproj/argo-cd