2023-09-15 08:40:37 +00:00
|
|
|
---
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: NetworkPolicy
|
|
|
|
metadata:
|
|
|
|
name: asterisk
|
|
|
|
spec:
|
|
|
|
podSelector:
|
|
|
|
matchLabels:
|
|
|
|
app: asterisk
|
|
|
|
policyTypes:
|
|
|
|
- Ingress
|
|
|
|
- Egress
|
|
|
|
ingress:
|
2023-09-15 10:23:23 +00:00
|
|
|
- from:
|
|
|
|
- namespaceSelector:
|
|
|
|
matchLabels:
|
|
|
|
kubernetes.io/metadata.name: monitoring
|
|
|
|
podSelector:
|
|
|
|
matchLabels:
|
|
|
|
app.kubernetes.io/name: prometheus
|
2023-09-15 08:40:37 +00:00
|
|
|
- from:
|
|
|
|
- ipBlock:
|
|
|
|
cidr: 100.101.0.0/16
|
|
|
|
- from:
|
|
|
|
- ipBlock:
|
|
|
|
cidr: 100.102.0.0/16
|
|
|
|
- from:
|
|
|
|
- ipBlock:
|
2023-10-09 10:45:23 +00:00
|
|
|
cidr: 81.90.125.224/32 # Lauri home
|
2023-09-15 08:40:37 +00:00
|
|
|
- from:
|
|
|
|
- ipBlock:
|
2023-10-09 10:45:23 +00:00
|
|
|
cidr: 172.20.8.241/32 # Erki A
|
|
|
|
- from:
|
|
|
|
- ipBlock:
|
|
|
|
cidr: 195.222.16.36/32 # Elisa SIP
|
|
|
|
- from:
|
|
|
|
- ipBlock:
|
|
|
|
cidr: 195.222.16.38/32 # Elisa SIP
|
2023-09-15 08:40:37 +00:00
|
|
|
egress:
|
|
|
|
- to:
|
|
|
|
- ipBlock:
|
2023-10-09 10:45:23 +00:00
|
|
|
cidr: 195.222.16.36/32 # Elisa SIP
|
|
|
|
- to:
|
|
|
|
- ipBlock:
|
|
|
|
cidr: 195.222.16.38/32 # Elisa SIP
|