In the above video, it is said that when only “podSelector” is specified in “ingress.from” rule, it allows “any pod from any namespace with matching labels to reach the pod at the port”. However the Kubernetes documentation (Network Policies | Kubernetes) says the following
podSelector : This selects particular Pods in the same namespace as the NetworkPolicy which should be allowed as ingress sources or egress destinations.
namespaceSelector: {} Selects all pods in all namespaces.
By default, if you omit specifying a namespaceSelector it does not select any namespaces, which means it will allow traffic only from the namespace the NetworkPolicy is deployed to.