19 lines
557 B
YAML
19 lines
557 B
YAML
# Session ingress to the region pod: TCP 7400 from the permitted development/test
|
|
# client CIDR(s) only, which must equal the Service's loadBalancerSourceRanges.
|
|
# Everything else stays denied by the platform default-deny policy.
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
name: evo-region-session-ingress
|
|
spec:
|
|
podSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: evo-region
|
|
policyTypes: [Ingress]
|
|
ingress:
|
|
- from:
|
|
- ipBlock:
|
|
cidr: 172.10.1.0/24
|
|
ports:
|
|
- {protocol: TCP, port: 7400}
|