cockroachdb / k8s

Images and utilities to run cockroach on kubernetes
Apache License 2.0
26 stars 25 forks source link

fix Certificates and Core api version #23

Closed farajn9 closed 4 years ago

farajn9 commented 4 years ago

Fix below error when you try go get ./...

$ go get ./...
# k8s/request-cert
./k8s_certificates.go:95:21: client.Certificates undefined (type *kubernetes.Clientset has no field or method Certificates)
./k8s_certificates.go:100:21: client.Certificates undefined (type *kubernetes.Clientset has no field or method Certificates)
./k8s_certificates.go:116:25: client.Certificates undefined (type *kubernetes.Clientset has no field or method Certificates)
./k8s_certificates.go:125:18: select case must be receive, send or assign recv
./k8s_certificates.go:193:23: client.Core undefined (type *kubernetes.Clientset has no field or method Core)