Merge pull request #114044 from andrewsykim/fix-node-proxy-tests

test/e2e_node: set apiserver kubelet preferred addresses
This commit is contained in:
Kubernetes Prow Robot
2022-11-23 14:16:03 -08:00
committed by GitHub

View File

@@ -88,6 +88,8 @@ func (a *APIServer) Start() error {
o.Authentication.ServiceAccounts.Issuers = []string{"https://foo.bar.example.com"}
o.Authentication.ServiceAccounts.KeyFiles = []string{saSigningKeyFile.Name()}
o.KubeletConfig.PreferredAddressTypes = []string{"InternalIP"}
errCh := make(chan error)
go func() {
defer close(errCh)