Fixing the namespace in created event to fix federation event e2e
This commit is contained in:
@@ -71,11 +71,12 @@ 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",
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user