Skip to content

Commit 7a1464b

Browse files
mattmoorpull[bot]
authored andcommitted
Cleanup some SkipNamespaceValidation settings (#6905)
I was hoping to clean up more, but the ingress controller still potentially reconciles Gateways :(
1 parent f015b20 commit 7a1464b

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

pkg/reconciler/certificate/certificate_test.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,9 @@ func TestReconcile(t *testing.T) {
371371

372372
func TestReconcile_HTTP01Challenges(t *testing.T) {
373373
table := TableTest{{
374-
Name: "fail to set status.HTTP01Challenges",
375-
Key: "foo/knCert",
376-
SkipNamespaceValidation: true,
377-
WantErr: true,
374+
Name: "fail to set status.HTTP01Challenges",
375+
Key: "foo/knCert",
376+
WantErr: true,
378377
Objects: []runtime.Object{
379378
knCert("knCert", "foo"),
380379
http01Issuer,

pkg/reconciler/route/table_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,8 +2120,7 @@ func TestReconcile_EnableAutoTLS(t *testing.T) {
21202120
WithURL,
21212121
),
21222122
}},
2123-
Key: "default/becomes-ready",
2124-
SkipNamespaceValidation: true,
2123+
Key: "default/becomes-ready",
21252124
}, {
21262125
Name: "check that Route updates status and produces event log when valid name but not owned certificate",
21272126
WantErr: true,

0 commit comments

Comments
 (0)