apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: podselector-matchlabels-test-val
  namespace: kube-system
spec:
  podSelector:
    matchLabels:
     app: Abc-_.
  policyTypes:
  - Ingress
  - Egress
  ingress:
    - from:
      - namespaceSelector: {}
        podSelector: {}
  egress:
    - to:
      - namespaceSelector: {}
        podSelector: {}