community
community copied to clipboard
EKS: Create a kubeconfig secret
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).