Skip to content

Commit 750bf11

Browse files
committed
fix ci
1 parent 21dd0d9 commit 750bf11

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

internal/controller/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ func ProcessIngressClassParameters(tctx *provider.TranslateContext, c client.Cli
12861286
parameters := ingressClass.Spec.Parameters
12871287
// check if the parameters reference GatewayProxy
12881288
if parameters.APIGroup != nil && *parameters.APIGroup == v1alpha1.GroupVersion.Group && parameters.Kind == KindGatewayProxy {
1289-
ns := object.GetNamespace()
1289+
ns := "default"
12901290
if parameters.Namespace != nil {
12911291
ns = *parameters.Namespace
12921292
}

test/e2e/crds/v2/globalrule.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ spec:
5757
apiGroup: "apisix.apache.org"
5858
kind: "GatewayProxy"
5959
name: "apisix-proxy-config"
60-
namespace: "default"
61-
scope: "Namespace"
6260
`
6361

6462
var _ = Describe("Test GlobalRule", Label("apisix.apache.org", "v2", "apisixglobalrule"), func() {

0 commit comments

Comments
 (0)