Open anandf opened 2 weeks ago
@anandf this is a great idea 😊
I suppose it's just matching Argo CD Application/<APP_NAME>
custom resource with other k8s resources containing the argocd.argoproj.io/instance=<APP_NAME>
label?
I haven't had much time these while to do maintenance on this tool, but do feel free to work on this & I'll do my best to review it & publish a version 🙏
ArgoCD uses either a label app.kubernetes.io/instance: some-application
(or) an annotation argocd.argoproj.io/tracking-id
(or) both to track application created resources. There is also an option to specify a custom label. Once the direct resources are identified, we need to track its individual children using existing logic. Custom label selector can be supported by having an additional optional argument for the lineage command
I see, thanks for sharing this! Would greatly appreciate if you can also update over here when you've started working on this 🙏
This is a wonderful and promising tool.
I have seen a note that currently it does not support ArgoCD Applications. When I tried running on it, I could just see the events generated by these applications instead of the actual child objects. I would like to enhance this tool to add support for ArgoCD applications as well.
On running lineage command, I get this output
Expected Output