build/kubernetes
Heschi Kreinick 35ff7b4a63 cmd/coordinator: modernize Kubernetes access
Turns out that to query for a regional Kubernetes cluster you need to
use a different API. Require an explicit location to create a client and
use that new API.

Also, modern Kubernetes clusters won't have client cert auth enabled.
Use OAuth instead.

Finally, don't require that the buildlets cluster be in the same zone as
the coordinator.

For golang/go#48408.

Change-Id: Ic3f9525b9bffa89d779e684c8ea1be116d3f983f
Reviewed-on: https://go-review.googlesource.com/c/build/+/350754
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2021-09-17 21:59:33 +00:00
..
api all: add or change GoDoc badge to pkg.go.dev with update-readmes.go 2020-12-15 04:52:31 +00:00
gke cmd/coordinator: modernize Kubernetes access 2021-09-17 21:59:33 +00:00
README.md all: add or change GoDoc badge to pkg.go.dev with update-readmes.go 2020-12-15 04:52:31 +00:00
client.go all: use Workload Identity for gitmirror, move to "prod" namespace 2021-09-02 21:43:28 +00:00
client_test.go all: use Workload Identity for gitmirror, move to "prod" namespace 2021-09-02 21:43:28 +00:00
dialer.go kubernetes: cleanup, and add DialServicePort 2017-02-09 23:20:38 +00:00

README.md

Go Reference

golang.org/x/build/kubernetes

Package kubernetes contains a minimal client for the Kubernetes API.