egress connect2ftapi

cherry-pick-20afe452
Hoan To 2 years ago
parent e02fb090d4
commit c25cc96830

@ -0,0 +1,19 @@
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
Loading…
Cancel
Save