generated from onedr0p/cluster-template
-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
helm-release.yaml
166 lines (147 loc) · 3.89 KB
/
helm-release.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: calibre-web
namespace: media
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 1.5.1
sourceRef:
kind: HelmRepository
name: bjw-s-charts
namespace: flux-system
interval: 5m
install:
remediation:
retries: 4
upgrade:
remediation:
remediateLastFailure: true
dependsOn:
- name: calibre
namespace: media
values:
image:
repository: ghcr.io/bjw-s/calibre-web
tag: 0.6.21@sha256:c9db35c46d93760e2779eb146cf83964c3f178f86db6e83f0b4c8317fc6c1c1b
env:
TZ: "${TZ}"
PGID: "${MEDIA_GID}"
PUID: "${CALIBRE_WEB_PID}"
securityContext:
runAsUser: 0
runAsGroup: 0
podSecurityContext:
fsGroup: "${MEDIA_GID}"
fsGroupChangePolicy: "OnRootMismatch"
supplementalGroups:
- 100
- 568
# Custom Camelus Group(s)
- 65541
- 65536
- 65537
enableServiceLinks: false
service:
main:
ports:
http:
port: 8083
persistence:
config:
enabled: true
existingClaim: calibre-web-config
media:
enabled: true
type: custom
volumeSpec:
nfs:
server: "${NAS_ADDRESS}"
path: /volume3/Data/Library
mountPath: /data/nas-media
ingress:
main:
enabled: true
ingressClassName: "traefik"
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.middlewares: networking-chain-no-auth@kubernetescrd
hajimari.io/instance: "bloop-xyz"
hajimari.io/enable: "true"
hajimari.io/icon: "bookshelf"
hajimari.io/appName: "Library"
hosts:
- host: books.${XYZ_DOMAIN}
paths:
- path: /
tls:
- secretName: tls.calibre-web
hosts:
- books.${XYZ_DOMAIN}
kobo:
enabled: true
ingressClassName: "traefik"
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.middlewares: networking-rfc1918@kubernetescrd
hosts:
- host: books.${XYZ_DOMAIN}
paths:
- path: /kobo/
tls:
- secretName: tls.calibre-web
hosts:
- calibre-web.${XYZ_DOMAIN}
# tolerations:
# - key: "kubernetes.io/arch"
# operator: "Equal"
# value: "arm64"
# effect: "NoSchedule"
# affinity:
# podAntiAffinity:
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 100
# podAffinityTerm:
# labelSelector:
# matchExpressions:
# - key: app.kubernetes.io/name
# operator: In
# values:
# - calibre-web
# topologyKey: kubernetes.io/hostname
resources:
requests:
memory: 256Mi
limits:
memory: 512Mi
# probes:
# liveness:
# enabled: true
# custom: true
# spec:
# initialDelaySeconds: 5
# periodSeconds: 10
# timeoutSeconds: 2
# failureThreshold: 3
# readiness:
# enabled: true
# custom: true
# spec:
# initialDelaySeconds: 5
# periodSeconds: 10
# timeoutSeconds: 2
# failureThreshold: 3
# startup:
# enabled: true
# custom: true
# spec:
# initialDelaySeconds: 5
# timeoutSeconds: 2
# periodSeconds: 5
# failureThreshold: 30