Allow setting resource inclusion/exclusion
Is your feature request related to a problem?
Since it is part of the declarative setup, it would be useful to add it to the chart as well
https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#resource-exclusioninclusion
Related helm chart
argo-cd
Describe the solution you'd like
Adding an option for it in values.yaml
Describe alternatives you've considered
No response
Additional context
No response
Hi @aqeelat , thank you for your issue. I will make PR for this.
FYI: The following works well for now, it's just not declared in values.yaml though. :)
configs:
cm:
resource.exclusions: |
- apiGroups:
- "*"
kinds:
- "*"
clusters:
- https://192.168.0.20
Hi @yu-croco - the key is not part of CM as there is link to upstream with all supported attributes. The exclusions really depends what you have in cluster (crossplane, external-secrets, kyverno, etc. are typically here).
Hi @pdrastil , thank you for your comment. doc says to edit the argocd-cm for the feature, so I thought we could handle with it.... 👀
To configure this, edit the argocd-cm config map:
https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#resource-exclusioninclusion
We also had issues with this while upgrading. I think moving this config to .Values.configs.cm makes sense, but without seeing this issue or looking here, I'm not sure how users are know that .Values.server.config was broken. Happy to help if this should be backwards compatible.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.