mirror of
https://github.com/wahyd4/cert-manager.git
synced 2026-08-17 09:06:21 +10:00
Set namespace on Challenge resources created during tests
Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user