apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: backend-pull-notifications-access namespace: app-notifications spec: podSelector: matchLabels: app: backend-pull-notifications policyTypes: - Ingress ingress: - from: - podSelector: matchLabels: app: backend-api-internal ports: - protocol: TCP port: 8101 - from: - ipBlock: cidr: 193.24.210.114/32 ports: - protocol: TCP port: 9000