chore: Update manifests after change

This commit is contained in:
2025-12-23 23:56:32 +00:00
parent fe4d95e4dc
commit a542c6c72f
16 changed files with 195 additions and 101 deletions

View File

@@ -34,6 +34,18 @@ spec:
hostPID: false
dnsPolicy: ClusterFirst
containers:
- args:
- --jellyfin.address=http://127.0.0.1:8096
- --jellyfin.token=$(TOKEN)
env:
- name: TOKEN
valueFrom:
secretKeyRef:
key: token
name: jellyfin-exporter-secret
image: rebelcore/jellyfin-exporter:v1.3.9
imagePullPolicy: IfNotPresent
name: exporter
- env:
- name: TZ
value: US/Central

View File

@@ -0,0 +1,21 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: jellyfin-exporter-secret
namespace: jellyfin
labels:
app.kubernetes.io/name: jellyfin-exporter-secret
app.kubernetes.io/instance: jellyfin
app.kubernetes.io/part-of: jellyfin
spec:
secretStoreRef:
kind: ClusterSecretStore
name: vault
data:
- secretKey: token
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /cl01tl/jellyfin/exporter
metadataPolicy: None
property: token

View File

@@ -1,12 +1,13 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: http-route-jellyfin
namespace: jellyfin
name: jellyfin
labels:
app.kubernetes.io/name: http-route-jellyfin
app.kubernetes.io/instance: jellyfin
app.kubernetes.io/part-of: jellyfin
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: jellyfin
helm.sh/chart: jellyfin-4.5.0
namespace: jellyfin
spec:
parentRefs:
- group: gateway.networking.k8s.io
@@ -14,15 +15,16 @@ spec:
name: traefik-gateway
namespace: traefik
hostnames:
- jellyfin.alexlebens.net
- "jellyfin.alexlebens.net"
rules:
- matches:
- backendRefs:
- group: ""
kind: Service
name: jellyfin
namespace: jellyfin
port: 80
weight: 100
matches:
- path:
type: PathPrefix
value: /
backendRefs:
- group: ''
kind: Service
name: jellyfin
port: 80
weight: 100

View File

@@ -16,6 +16,10 @@ spec:
targetPort: 8096
protocol: TCP
name: http
- port: 9594
targetPort: 9594
protocol: TCP
name: metrics
selector:
app.kubernetes.io/controller: main
app.kubernetes.io/instance: jellyfin

View File

@@ -0,0 +1,25 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: jellyfin
labels:
app.kubernetes.io/instance: jellyfin
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: jellyfin
helm.sh/chart: jellyfin-4.5.0
namespace: jellyfin
spec:
jobLabel: "jellyfin"
namespaceSelector:
matchNames:
- jellyfin
selector:
matchLabels:
app.kubernetes.io/instance: jellyfin
app.kubernetes.io/name: jellyfin
endpoints:
- interval: 30s
path: /metrics
port: metrics
scheme: http
scrapeTimeout: 15s