Skip to content

Commit

Permalink
Merge pull request kubernetes#114044 from andrewsykim/fix-node-proxy-…
Browse files Browse the repository at this point in the history
…tests

test/e2e_node: set apiserver kubelet preferred addresses
  • Loading branch information
k8s-ci-robot committed Nov 23, 2022
2 parents 9884746 + 6c8eacb commit 7530baa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/e2e_node/services/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7530baa

Please sign in to comment.