Files
homelab/k8s/apps/furumi-server/deployment.yaml

76 lines
2.1 KiB
YAML
Raw Normal View History

2026-03-11 01:16:32 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: furumi-server
labels:
app: furumi-server
spec:
replicas: 1
selector:
matchLabels:
app: furumi-server
template:
metadata:
labels:
app: furumi-server
spec:
nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net
containers:
- name: furumi-server
2026-03-17 19:17:51 +00:00
image: ultradesu/furumi-server:trunk
2026-03-11 01:16:32 +00:00
imagePullPolicy: Always
env:
- name: FURUMI_TOKEN
2026-03-16 11:55:11 +00:00
valueFrom:
secretKeyRef:
2026-03-17 14:35:13 +00:00
name: furumi-ng-creds
2026-03-16 11:55:11 +00:00
key: TOKEN
2026-03-17 14:47:19 +00:00
- name: FURUMI_OIDC_CLIENT_ID
2026-03-17 14:35:13 +00:00
valueFrom:
secretKeyRef:
name: furumi-ng-creds
key: OIDC_CLIENT_ID
2026-03-17 14:47:19 +00:00
- name: FURUMI_OIDC_CLIENT_SECRET
2026-03-17 14:35:13 +00:00
valueFrom:
secretKeyRef:
name: furumi-ng-creds
key: OIDC_CLIENT_SECRET
2026-03-17 14:47:19 +00:00
- name: FURUMI_OIDC_ISSUER_URL
2026-03-17 14:35:13 +00:00
valueFrom:
secretKeyRef:
name: furumi-ng-creds
key: OIDC_ISSUER_URL
2026-03-17 14:47:19 +00:00
- name: FURUMI_OIDC_REDIRECT_URL
2026-03-17 14:35:13 +00:00
valueFrom:
secretKeyRef:
name: furumi-ng-creds
key: OIDC_REDIRECT_URL
2026-03-17 16:13:23 +00:00
- name: FURUMI_OIDC_SESSION_SECRET
valueFrom:
secretKeyRef:
name: furumi-ng-creds
key: OIDC_SESSION_SECRET
2026-03-11 01:16:32 +00:00
- name: FURUMI_ROOT
value: "/media"
2026-03-17 16:13:23 +00:00
- name: RUST_LOG
2026-03-17 16:19:04 +00:00
value: "info"
2026-03-11 01:16:32 +00:00
ports:
- name: grpc
containerPort: 50051
protocol: TCP
- name: metrics
containerPort: 9090
protocol: TCP
2026-03-17 14:42:59 +00:00
- name: web-ui
containerPort: 8080
protocol: TCP
2026-03-11 01:16:32 +00:00
volumeMounts:
- name: music
mountPath: /media
volumes:
- name: music
hostPath:
path: /k8s/media/downloads/Lidarr_Music
type: DirectoryOrCreate