k3s/pkg/server
Brad Davidson f37e7565b8 Move the apiserver addresses controller into the etcd package
This controller only needs to run when using managed etcd, so move it in
with the rest of the etcd stuff. This change also modifies the
controller to only watch the Kubernetes service endpoint, instead of
watching all endpoints in the entire cluster.

Fixes an error message revealed by use of a newer grpc client in
Kubernetes 1.24, which logs an error when the Put to etcd failed because
kine doesn't support the etcd Put operation. The controller shouldn't
have been running without etcd in the first place.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-04-07 11:28:15 -07:00
..
auth.go [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
context.go [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
etcd.go [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
router.go Allow agents to query non-apiserver supervisors for apiserver endpoints 2022-04-06 13:03:14 -07:00
secrets-encrypt.go Fix etcd-only secrets encryption rotation 2022-03-25 10:40:58 -07:00
server.go Move the apiserver addresses controller into the etcd package 2022-04-07 11:28:15 -07:00
types.go [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00