community icon indicating copy to clipboard operation
community copied to clipboard

EKS: Create a kubeconfig secret

Open gdlx opened this issue 9 months ago • 3 comments

I'm planning to use the ACK EKS controller to create clusters from a management cluster.

As I'm currently using FluxCD to setup the clusters through Gitops, I'd like to use it for the cluster bootstrap too.

FluxCD allows syncing resources to a remote cluster, but this requires a <cluster-name>-kubeconfig secret, which is expected to be created by Cluster API/CAPA: https://fluxcd.io/flux/components/kustomize/kustomizations/#remote-clusterscluster-api

It would be nice if ACK EKS could provide this secret, the same way aws eks update-kubeconfig ... does, to be compatible with FluxCD and other ClusterAPI compatible tools (like Sveltos which discovers ClusterAPI clusters, but also could discover ACK ones).

gdlx avatar May 10 '24 09:05 gdlx