Folks
Any idea how to fix this, we are running this script
And all looks good, it provisions the stuff in AWS, sets up the security groups and all is good (so you think)
then you run sudo /usr/local/bin/kubectl --kubeconfig=kubeconfig get nodes and it returns with Unable to connect to the server: x509: certificate is valid for kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local, kube-prod-dns, not
kube.beta.mydomain.com?
Any help much appreciated.