add netpol for access to ftapi from connect
parent
fd7fb4c3ff
commit
ddb5419b83
@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: NetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: egress-connect2ftapi
|
||||||
|
spec:
|
||||||
|
egress:
|
||||||
|
- ports:
|
||||||
|
- port: 443
|
||||||
|
protocol: TCP
|
||||||
|
to:
|
||||||
|
- ipBlock:
|
||||||
|
cidr: 195.192.153.189/32
|
||||||
|
podSelector:
|
||||||
|
matchLabels:
|
||||||
|
app: connect
|
||||||
|
policyTypes:
|
||||||
|
- Egress
|
||||||
Loading…
Reference in New Issue