Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #103 from thedadams/no-ns-trigger
Browse files Browse the repository at this point in the history
Properly trigger lists of namespaced objects
  • Loading branch information
thedadams committed Oct 6, 2023
2 parents be01150 + c4bb2c0 commit 91fb95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/router/matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ func (o *objectMatcher) Match(ns, name string, obj kclient.Object) bool {
return o.Fields.Matches(i)
}
}
return o.Namespace == ns
return o.Namespace == "" || o.Namespace == ns
}

0 comments on commit 91fb95b

Please sign in to comment.