# kubernetes


11/16/2023, 12:26 AM
I’m creating a gke cluster then trying to create a kube provider from that but all of the examples/docs that I’m finding tell you to use cluster.MasterAuth to get the CA certificate which appears to be deprecated. What is the proper way to auth with the cluster then? This doc even references cluster.MasterAuth: The error:
cluster.MasterAuth is deprecated: Basic authentication was removed for GKE cluster versions >= 1.19.
My code that triggers the error in IDE and on `pulumi up`:
I’ve moved from the v5 of the go/gcp/compute library to the v7 which seems to have resolved the issue. Odd tho that I can still use the cluster.MasterAuth although it said deprecated in a previous library. Very confusing.