add audiobookshelf

Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
gwg313 2026-05-19 12:25:02 -04:00
parent bbbb96bd6a
commit d8e2543152
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
25 changed files with 110 additions and 331 deletions

View file

@ -0,0 +1,62 @@
# ----------------------------------------------------
# Ingress only from Gateway API
# ----------------------------------------------------
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-ingress
namespace: audiobookshelf
spec:
endpointSelector:
matchLabels:
app: audiobookshelf
ingress:
- fromEntities:
- ingress
toPorts:
- ports:
- port: "80"
protocol: TCP
---
# ----------------------------------------------------
# audible access (cover art, metadata)
# ----------------------------------------------------
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-audible
namespace: audiobookshelf
spec:
endpointSelector:
matchLabels:
app: audiobookshelf
egress:
- toFQDNs:
- matchName: audible.com
toPorts:
- ports:
- port: "443"
protocol: TCP
# ----------------------------------------------------
# OPTIONAL: unrestricted HTTPS egress (disabled)
# ----------------------------------------------------
# apiVersion: cilium.io/v2
# kind: CiliumNetworkPolicy
# metadata:
# name: allow-all-egress
# namespace: audiobookshelf
# spec:
# endpointSelector:
# matchLabels:
# app: audiobookshelf
#
# egress:
# - toEntities:
# - world
# toPorts:
# - ports:
# - port: "443"
# protocol: TCP