Skip to content

Commit

Permalink
review suggestion, fix comment in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek committed Nov 27, 2024
1 parent 85b24b7 commit fa2daab
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,9 @@ var _ = Describe("The Openshift Notebook controller", func() {
},
From: []netv1.NetworkPolicyPeer{
{
// Since for unit tests we do not have context,
// namespace will fallback to test pod namespace
// if run in CI or `redhat-ods-applications` if run locally
// Since for unit tests the controller does not run in a cluster pod,
// it cannot detect its own pod's namespace. Therefore, we define it
// to be `redhat-ods-applications` (in suite_test.go)
NamespaceSelector: &metav1.LabelSelector{
MatchLabels: map[string]string{
"kubernetes.io/metadata.name": testPodNamespace,
Expand Down

0 comments on commit fa2daab

Please sign in to comment.