'EKS CSR Signer kubernetes.io/kube-apiserver-client no certificate

I recently upgraded an eks cluster from 1.18 to 1.21 in EKS. I had been using a CSR with apiVersion: certificates.k8s.io/v1beta1. This is deprecated from 1.19+, but still functional in 1.21. But will be removed in 1.22. I had been using signer kubernetes.io/legacy-unknown, which after issuing kubectl certificate approve would give a certificate under kubectl get csr my-csr -n my-namespace -o jsonpath='{.status.certificate} I went on to update the apiVersion for the CSR to certificates.k8s.io/v1 and use signer kubernetes.io/kube-apiserver-client as per this documentation. Although I am getting the CSR approved, there is no certificate. Can someone point me in the right direction regarding this issue? Thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source