---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: netpol-rancher-saas-ops
spec:
  podSelector:
    matchLabels:
      app: rancher-saas-ops
  policyTypes:
  - Ingress
  - Egress
  ingress:
  - from: []
    ports:
    - protocol: TCP
      port: 9000
  egress:
  - to: []
    ports:
    - protocol: TCP
      port: 80
    - protocol: TCP
      port: 443
    - protocol: TCP
      port: 6443