mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Fix namespace of minion birthcry event.
This commit is contained in:
parent
eeb4547bec
commit
0ca192889f
@ -1019,9 +1019,10 @@ func (kl *Kubelet) BirthCry() {
|
||||
// TODO: get the real minion object of ourself,
|
||||
// and use the real minion name and UID.
|
||||
ref := &api.ObjectReference{
|
||||
Kind: "Minion",
|
||||
Name: kl.hostname,
|
||||
UID: kl.hostname,
|
||||
Kind: "Minion",
|
||||
Name: kl.hostname,
|
||||
UID: kl.hostname,
|
||||
Namespace: api.NamespaceDefault,
|
||||
}
|
||||
record.Eventf(ref, "", "starting", "Starting kubelet.")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user