mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-02 00:34:25 +02:00
80 lines
1.8 KiB
YAML
80 lines
1.8 KiB
YAML
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app navidrome
|
|
namespace: media
|
|
spec:
|
|
interval: 15m
|
|
chart:
|
|
spec:
|
|
chart: kah-common-chart
|
|
version: 1.1.2
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: k8s-at-home-charts
|
|
namespace: flux-system
|
|
interval: 15m
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 5
|
|
upgrade:
|
|
remediation:
|
|
retries: 5
|
|
values:
|
|
global:
|
|
nameOverride: *app
|
|
image:
|
|
repository: docker.io/deluan/navidrome
|
|
tag: 0.47.5
|
|
env:
|
|
TZ: "${TIMEZONE}"
|
|
ND_LOGLEVEL: "info"
|
|
ND_SCANSCHEDULE: "1h"
|
|
ND_SESSIONTIMEOUT: 24h
|
|
ND_MUSICFOLDER: /mnt/storage/music/Artistes
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: 4533
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
ingressClassName: "nginx"
|
|
annotations:
|
|
external-dns.alpha.kubernetes.io/target: "services.${SECRET_DOMAIN}."
|
|
external-dns/is-public: "true"
|
|
hosts:
|
|
- host: &host-release "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
- host: &host-custom "music.${SECRET_CLUSTER_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- *host-release
|
|
- *host-custom
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
existingClaim: navidrome-config
|
|
mountPath: /data
|
|
music:
|
|
enabled: true
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/music
|
|
mountPath: /mnt/storage/music
|
|
readOnly: true
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 250Mi
|
|
limits:
|
|
memory: 750Mi
|