mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-10-28 15:05:03 +08:00
pkg/cluster/ports: make CloudControllerManagerWebhookPort a literal instead of an alias of k8s.io/cloud-provider/options; a test keeps the two values equal. Importing cloud-provider/options pulled the generic apiserver, admission and the etcd client into kube-proxy. responsewriters: declare an unexported resourceStreamer with the method set of rest.ResourceStreamer so the package no longer imports registry/rest (and, through it, admission and cel-go). A compile-time check in the tests keeps the two interfaces assignable to each other. kube-proxy goes from 1452 to 1102 packages in its import graph.