applicationset
applicationset copied to clipboard
SCM Provider Generator: Add possibility to filter pathsDoesNotExist
Would be awesome to filter not only if files/paths exists, but to also filter if file doesnt exist.
We're using applicationsets with the scm-generator to create argo-apps when a helm-chart-repo is found in a specific gitlab group.
Because there is no clean way to suspend/pause apps in argocd at the moment, we would like to add a .disabled file in the repo and tell the applicationset to only add apps where this disabled file doesnt exist.
In this way we can easily suspend apps temporarily without deleting the whole repo.
Seems like a good feature! Would you be interested in contributing the filter? I think you could reuse the existing client logic to detect 404s as a positive rather than negative result.
I am afraid I am not enough developer for this. Could someone help me out here?
I can give it a try, lemme prioritise it and let u know