You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
339 B
YAML

---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: egress-postgres2loadbalancer
spec:
podSelector:
matchLabels:
cluster-name: postgres-cluster
egress:
- ports:
- protocol: TCP
port: 443
to:
- ipBlock:
cidr: 167.235.109.35/32
policyTypes:
- Egress