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.
prodwork01-mobene-deployment/templates/netpol_egress-connect2ftapi...

19 lines
402 B
YAML

apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-connect2ftapi
spec:
podSelector:
matchLabels:
app: connect
policyTypes:
- Egress
egress:
- to:
- ipBlock:
cidr: 85.215.61.180/32
ports:
- protocol: TCP
port: 80 # Assuming the URL is accessed over HTTP
- protocol: TCP
port: 443 # Assuming the URL is accessed over HTTPS