mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Explicitly use Core client as EventClient in hollow node
This commit is contained in:
parent
ef5ee331cc
commit
20b6b3ca99
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user