I am trying to programmatically connect to my AWS EKS cluster using the official 
CodePudding user response:
The error message is complaining that it does not know the cluster's certificate issuer.
Your cluster object needs one of the following properties to specify the certificate authority:
caFile: Filename containing the certificate authoritycaData: Base64-encoded contents of the certificate authority file
According to the AWS documentation, you should be able to retrieve the certificate authority as "the certificateAuthority.data that was created for your cluster".
