generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelmrelease.yaml
122 lines (122 loc) · 3.5 KB
/
helmrelease.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: lazylibrarian
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.2.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controllers:
main:
type: statefulset
statefulset:
volumeClaimTemplates:
- name: config
accessMode: ReadWriteMany
size: 1Gi
storageClass: truenas-nfs-main
advancedMounts:
main:
- path: /config
containers:
main:
image:
repository: ghcr.io/linuxserver/lazylibrarian
tag: 280532d2-ls50@sha256:c093e4787db9c0c4f1220f2738eca6b6ac8c2e218adc06489bfb9dbb3f7247d8
env:
TZ: ${TIMEZONE}
PUID: 568
PGID: 568
DOCKER_MODS: >-
{{- $items := list
"// renovate: lsio-docker-mod"
"ghcr.io/linuxserver/mods:universal-calibre-v7.12.0@sha256:e8aad70cc71c65587e28711ab16a0ffa1bbcb707b462a6313b721f7622529be3"
"// renovate: lsio-docker-mod"
"ghcr.io/linuxserver/mods:lazylibrarian-ffmpeg@sha256:5083d9f2bdfcb27edf65a55e7c05d0ae8ce309d02d5f0cdc83bfe8e95c942dd4"
-}}
{{- $filtered := list -}}
{{- range $item := $items -}}
{{- if not (hasPrefix "//" $item) -}}
{{- $filtered = append $filtered $item -}}
{{- end -}}
{{- end -}}
{{- $filtered | join "|" -}}
resources:
requests:
cpu: 10m
memory: 250Mi
limits:
memory: 500Mi
initContainers:
minio-init-bucket:
image:
repository: ghcr.io/qlonik/minio-init-bucket
tag: RELEASE.2024-06-12T14-34-03Z@sha256:c6b15ae3a93b09573e850c42b1411fca7444dd5118b55f1c1e3e0b8825b61652
envFrom:
- secretRef:
name: lazylibrarian-secret
defaultPodOptions:
securityContext:
fsGroup: 568
fsGroupChangePolicy: "OnRootMismatch"
service:
main:
controller: main
ports:
http:
port: 5299
ingress:
main:
className: internal
annotations:
auth.home.arpa/enabled: "true"
hajimari.io/icon: mdi:download
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_DOMAIN}"
paths:
- path: "/"
pathType: Prefix
service:
identifier: main
port: http
tls:
- hosts:
- *host
persistence:
ebooks:
type: nfs
server: nova.home.arpa
path: /mnt/main/media/ebooks
globalMounts:
- path: /books/ebooks
readOnly: true
audiobooks:
type: nfs
server: nova.home.arpa
path: /mnt/main/media/audiobooks
globalMounts:
- path: /books/audiobooks
readOnly: true
downloads:
type: nfs
server: nova.home.arpa
path: /mnt/main/media/downloads/lazylibrarian
globalMounts:
- path: /downloads