Commit e29ead11 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #50090 from gmarek/EventClient

Automatic merge from submit-queue (batch tested with PRs 48237, 50084, 50019, 50069, 50090) Explicitly use Core client as EventClient in hollow node
parents 151b8118 20b6b3ca
......@@ -134,7 +134,7 @@ func main() {
}
if config.Morph == "proxy" {
eventClient, err := clientgoclientset.NewForConfig(clientConfig)
client, err := clientgoclientset.NewForConfig(clientConfig)
if err != nil {
glog.Fatalf("Failed to create API Server client: %v", err)
}
......@@ -147,7 +147,7 @@ func main() {
hollowProxy, err := kubemark.NewHollowProxyOrDie(
config.NodeName,
internalClientset,
eventClient,
client.Core(),
iptInterface,
sysctl,
execer,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment