Repository navigation
How to set allowed Destinations using regex from name of cluster instead of server #7063
Replies: 2 comments
Hi @emanuelflp , Could you please provide your steps to auto register new clusters in an existent ArgoCD and how the automation registers the cluster name as ENV_NAME-CLUSTER_NAME? |
|
You might want to check out Argo CD Autopilot which does this. Argo CD Autopilot |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello to all.
Can we set the parameter
Allowed Destinationsas a regex from name parameter in AppProject resource?My situation is:
We want to create 4 projects, one for each environment that we have(shr, hml, dev, prd). We have an automation that auto register new clusters in an existent ArgoCD and this automation even register the cluster name as ENV_NAME-CLUSTER_NAME. I want to split our applications by environment/projects, but we need a way to "add" the cluster to a project automatically.
E.g.: cluster with name
shr-cluster1can receive applications from projectshras this project has a filtershr-*in allowed destinations.All reactions