23 lines
564 B
YAML
23 lines
564 B
YAML
# Default-deny. This namespace runs a privileged QEMU VM signed into an Apple
|
|||
|
|
# ID and exposes an unauthenticated VNC console; nothing should reach it except
|
||
|
|
# opted-in clients.
|
||
|
|
apiVersion: networking.k8s.io/v1
|
||
|
|
kind: NetworkPolicy
|
||
|
|
metadata:
|
||
|
|
name: sms-default-deny
|
||
|
|
spec:
|
||
|
|
podSelector:
|
||
|
|
matchLabels:
|
||
|
|
app.kubernetes.io/part-of: sms
|
||
|
|
policyTypes:
|
||
|
|
- Ingress
|
||
|
|
ingress:
|
||
|
|
- from:
|
||
|
|
- namespaceSelector: {}
|
||
|
|
podSelector:
|
||
|
|
matchLabels:
|
||
|
|
sms-client: "true"
|
||
|
|
ports:
|
||
|
|
- protocol: TCP
|
||
|
|
port: 1234
|