mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 02:18:21 +00:00
feat(home-assistant): Plex integration netpols
This commit is contained in:
@@ -38,6 +38,10 @@ spec:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: go2rtc
|
||||
app.kubernetes.io/name: go2rtc
|
||||
- toEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: media
|
||||
app.kubernetes.io/name: plex
|
||||
- toFQDNs:
|
||||
# HACS
|
||||
- matchPattern: "*.hacs.xyz"
|
||||
|
||||
@@ -160,3 +160,18 @@ spec:
|
||||
- matchExpressions:
|
||||
- key: fuckoff.home.arpa/plex
|
||||
operator: DoesNotExist
|
||||
networkpolicies:
|
||||
app:
|
||||
controller: app
|
||||
policyTypes: [Ingress, Egress]
|
||||
rules:
|
||||
ingress:
|
||||
- from:
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: home-assistant
|
||||
namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: home-assistant
|
||||
ports:
|
||||
- port: *port
|
||||
|
||||
Reference in New Issue
Block a user