Set namespace on Challenge resources created during tests
Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
parent
b50f0a983a
commit
4aed3a7bbc
@ -222,6 +222,10 @@ func TestCleanupIngresses(t *testing.T) {
|
||||
},
|
||||
},
|
||||
Challenge: &cmacme.Challenge{
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Name: "testchal",
|
||||
Namespace: defaultTestNamespace,
|
||||
},
|
||||
Spec: cmacme.ChallengeSpec{
|
||||
DNSName: "example.com",
|
||||
Token: "abcd",
|
||||
@ -305,6 +309,10 @@ func TestCleanupIngresses(t *testing.T) {
|
||||
},
|
||||
},
|
||||
Challenge: &cmacme.Challenge{
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Name: "testchal",
|
||||
Namespace: defaultTestNamespace,
|
||||
},
|
||||
Spec: cmacme.ChallengeSpec{
|
||||
DNSName: "example.com",
|
||||
Token: "abcd",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user