Pass cluster's project as a label by default #2949
Closed
nbarrientos
started this conversation in
Ideas
Replies: 2 comments
-
I'll try with a merge request :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Argo CD's ApplicationSet Cluster generator allows selecting clusters by label. In our case we'd find it very useful if the cluster's project was also exposed as a label by default, something like:
In
argo-helm/charts/argo-cd/templates/argocd-configs/cluster-secrets.yaml
Line 13 in 32a3541
that way we could for instance easily create an AppSet deploying to all clusters that belong to a given project. The workaround today is to duplicate the project definition as label in all clusters defined but it'd be nice if the chart did that automatically.
I'm happy to send a patch if you like the idea.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions