13 lines
335 B
YAML
13 lines
335 B
YAML
|
|
# The observer only serves static files; it has no reason to initiate traffic.
|
||
|
|
apiVersion: networking.k8s.io/v1
|
||
|
|
kind: NetworkPolicy
|
||
|
|
metadata:
|
||
|
|
name: lesavka-av-observer
|
||
|
|
spec:
|
||
|
|
podSelector:
|
||
|
|
matchLabels: {app: lesavka-av-observer}
|
||
|
|
policyTypes: [Ingress, Egress]
|
||
|
|
ingress:
|
||
|
|
- ports: [{protocol: TCP, port: 8080}]
|
||
|
|
egress: []
|