mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Fixing the namespace in created event to fix federation event e2e
This commit is contained in:
parent
fa6bd4b832
commit
353a38555d
@ -70,12 +70,13 @@ func createEventOrFail(clientset *federation_release_1_4.Clientset, namespace st
|
|||||||
|
|
||||||
event := &v1.Event{
|
event := &v1.Event{
|
||||||
ObjectMeta: v1.ObjectMeta{
|
ObjectMeta: v1.ObjectMeta{
|
||||||
Name: FederationEventName,
|
Name: FederationEventName,
|
||||||
|
Namespace: namespace,
|
||||||
},
|
},
|
||||||
InvolvedObject: v1.ObjectReference{
|
InvolvedObject: v1.ObjectReference{
|
||||||
Kind: "Pod",
|
Kind: "Pod",
|
||||||
Name: "pod-name",
|
Name: "pod-name",
|
||||||
Namespace: "default",
|
Namespace: namespace,
|
||||||
UID: "C934D34AFB20242",
|
UID: "C934D34AFB20242",
|
||||||
APIVersion: "version",
|
APIVersion: "version",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user