apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: redis-permit-access
spec:
  ingress:
  - from:
    - podSelector:
        matchLabels:
          name: pttg-rps-enquiry
    ports:
    - port: 6379
      protocol: TCP
  podSelector:
    matchLabels:
      name: redis
