-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
AnyNamespace Multi ArgoCD Instance WildCard Application Resource Monitoring Overlap #19016
Closed
3 tasks done
Labels
Comments
14 tasks
jannfis
pushed a commit
that referenced
this issue
Aug 13, 2024
* feat(sourceNamespace): Regex Support Signed-off-by: Arthur <arthur@arthurvardevanyan.com> * feat(sourceNamespace): Separate exactMatch into patternMatch Signed-off-by: Arthur <arthur@arthurvardevanyan.com> --------- Signed-off-by: Arthur <arthur@arthurvardevanyan.com>
Implemented by #19017 |
reggie-k
pushed a commit
to reggie-k/argo-cd
that referenced
this issue
Aug 14, 2024
* feat(sourceNamespace): Regex Support Signed-off-by: Arthur <arthur@arthurvardevanyan.com> * feat(sourceNamespace): Separate exactMatch into patternMatch Signed-off-by: Arthur <arthur@arthurvardevanyan.com> --------- Signed-off-by: Arthur <arthur@arthurvardevanyan.com>
ChichiCaleb
pushed a commit
to ChichiCaleb/argo-cd
that referenced
this issue
Aug 15, 2024
* feat(sourceNamespace): Regex Support Signed-off-by: Arthur <arthur@arthurvardevanyan.com> * feat(sourceNamespace): Separate exactMatch into patternMatch Signed-off-by: Arthur <arthur@arthurvardevanyan.com> --------- Signed-off-by: Arthur <arthur@arthurvardevanyan.com> Signed-off-by: ChichiCaleb <ChichiCaleb@chichiuchenna@gmail.com>
ChichiCaleb
pushed a commit
to ChichiCaleb/argo-cd
that referenced
this issue
Aug 15, 2024
* feat(sourceNamespace): Regex Support Signed-off-by: Arthur <arthur@arthurvardevanyan.com> * feat(sourceNamespace): Separate exactMatch into patternMatch Signed-off-by: Arthur <arthur@arthurvardevanyan.com> --------- Signed-off-by: Arthur <arthur@arthurvardevanyan.com> Signed-off-by: ChichiCaleb <ChichiCaleb@chichiuchenna@gmail.com> Signed-off-by: ChichiCaleb <chichiuchenna@gmail.com>
gcp-cherry-pick-bot bot
pushed a commit
that referenced
this issue
Aug 23, 2024
* feat(sourceNamespace): Regex Support Signed-off-by: Arthur <arthur@arthurvardevanyan.com> * feat(sourceNamespace): Separate exactMatch into patternMatch Signed-off-by: Arthur <arthur@arthurvardevanyan.com> --------- Signed-off-by: Arthur <arthur@arthurvardevanyan.com>
jannfis
pushed a commit
that referenced
this issue
Aug 23, 2024
* feat(sourceNamespace): Regex Support * feat(sourceNamespace): Separate exactMatch into patternMatch --------- Signed-off-by: Arthur <arthur@arthurvardevanyan.com> Co-authored-by: Arthur Vardevanyan <arthur@arthurvardevanyan.com>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
Here is a PR with my attempt at solving the below scenario: #19017
Checklist:
argocd version
.Describe the bug
Two Cluster Wide ArgoCD Instances are present on a given cluster.
1 For Managing the Cluster and its resources.
1 For Tenants of the Cluster to manage their resources.
Second Tenant ArgoCD uses the application in any namespace feature.
The issue is, when using
*
for the selector, due to there being an unkown number of namespaces. That second instance tries to all scan and reconcile the applications already managed by the first instance.To Reproduce
Example of the cluster config.
https://github.com/ArthurVardevanyan/HomeLab/blob/main/kubernetes/argocd/base/argocd.yaml
Example of a tenant config:
https://github.com/ArthurVardevanyan/HomeLab/blob/main/kubernetes/argocd/apps/argocd-apps.yaml#L14-L18
For the moment in the example above, the namespaces are explicitly defined. However on larger environments, we will require
*
Expected behavior
I would expect ArgoCD to be aware of an application/object is already monitored by another instance, and not monitor it.
However, a simpler solution would be an exclude namespace list option.
Version
2.11.2: https://github.com/ArthurVardevanyan/HomeLab/blob/main/kubernetes/argocd/apps/argocd-apps.yaml#L57
The text was updated successfully, but these errors were encountered: