Skip to content

Commit

Permalink
Remove remoteNamespace field as it will be not used for the cache in …
Browse files Browse the repository at this point in the history
…Test.
  • Loading branch information
medmes committed Jan 23, 2025
1 parent 3e6866e commit 90ad66f
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/integration/controller/eventfilters/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ var _ = BeforeSuite(func() {
BindAddress: randomPort,
},
Scheme: k8sclientscheme.Scheme,
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace, RemoteNamespace),
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace),
})
Expect(err).ToNot(HaveOccurred())

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/controller/kcp/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ var _ = BeforeSuite(func() {
BindAddress: UseRandomPort,
},
Scheme: k8sclientscheme.Scheme,
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace, RemoteNamespace),
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace),
})
Expect(err).ToNot(HaveOccurred())

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/controller/kyma/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ var _ = BeforeSuite(func() {
BindAddress: randomPort,
},
Scheme: k8sclientscheme.Scheme,
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace, RemoteNamespace),
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace),
})
Expect(err).ToNot(HaveOccurred())

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ var _ = BeforeSuite(func() {
BindAddress: useRandomPort,
},
Scheme: k8sclientscheme.Scheme,
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace, RemoteNamespace),
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace),
})
Expect(err).ToNot(HaveOccurred())

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ var _ = BeforeSuite(func() {
BindAddress: useRandomPort,
},
Scheme: k8sclientscheme.Scheme,
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace, RemoteNamespace),
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace),
})
Expect(err).ToNot(HaveOccurred())

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/controller/manifest/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ var _ = BeforeSuite(func() {
BindAddress: metricsBindAddress,
},
Scheme: k8sclientscheme.Scheme,
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace, RemoteNamespace),
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace),
},
)
Expect(err).ToNot(HaveOccurred())
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/controller/moduletemplate/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ var _ = BeforeSuite(func() {
BindAddress: randomPort,
},
Scheme: k8sclientscheme.Scheme,
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace, RemoteNamespace),
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace),
})
Expect(err).ToNot(HaveOccurred())

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/controller/purge/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ var _ = BeforeSuite(func() {
BindAddress: useRandomPort,
},
Scheme: k8sclientscheme.Scheme,
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace, RemoteNamespace),
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace),
})
Expect(err).ToNot(HaveOccurred())

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/controller/withwatcher/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ var _ = BeforeSuite(func() {
BindAddress: metricsBindAddress,
},
Scheme: k8sclientscheme.Scheme,
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace, RemoteNamespace),
Cache: internal.GetCacheOptions(false, "istio-system", ControlPlaneNamespace),
})
Expect(err).ToNot(HaveOccurred())

Expand Down

0 comments on commit 90ad66f

Please sign in to comment.