-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an EKS cluster to an existing argocd #58
Comments
This issue has been automatically marked as stale because it has been open 30 days |
Unstale |
we initially used a very similar approach to this but very quickly dropped it eventually we went with a more decoupled approach where the target cluster writes its secret to hashicorp vault, and the argo-cd deployment has an operator that imports those secrets to then add the cluster to argo-cd. |
cc: @csantanapr , @candonov Joining existing clusters seems to be an interesting use-case. |
I use the above terraform for a few months and it automatically adds the cluster successfully to an existing central argocd. I think this would be great as its own module. |
thank you for the issue! At this time we are re-evaluating the integration between Terraform and GitOps operators like ArgoCD. We have removed the integration from the current project and will be tracking all feedback input in #114 while developing the next iteration of this integration |
Community Note
What is the outcome that you are trying to reach?
I have a single argocd cluster to manage multiple eks clusters. I have my argocd cluster installed in an eks server
red
in my shared-corp account. I created a new eks clusterblue
in my production account and I'd like to add my new eks clusterblue
to my existing argocd.Currently, I do this by running
argocd cluster add <cluster> --grpc-web
which creates the following resources in my new eks cluster
blue
It then creates a
blue-secret
in my argocd eks cluster which contains the necessary information to connect to the new eks cluster.Adding this feature also enables us to create a new module to bootstrap the new eks cluster with a set of foundational apps. We would then have the full flow.
kubernetes-addons/argocd-add-cluster
kubernetes-addons/argocd-bootstrap-cluster
Describe the solution you would like
I'd like a new module i.e.
modules/kubernetes-addons/add-eks-cluster-to-argocd
that will create all the necessary declarative resources.Using the
hashicorp/kubernetes
providerhttps://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs
This is tested code
Using the
oboukili/argocd
providerhttps://registry.terraform.io/providers/oboukili/argocd/latest/docs
This I did not test
Describe alternatives you have considered
argocd cluster add <cluster> --grpc-web
Additional context
The text was updated successfully, but these errors were encountered: