-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelmrelease.yaml
More file actions
116 lines (110 loc) · 3.02 KB
/
helmrelease.yaml
File metadata and controls
116 lines (110 loc) · 3.02 KB
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
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: audiobookshelf
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.7.3
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 4
driftDetection:
mode: enabled
values:
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 1001
runAsGroup: 1001
fsGroup: 1001
fsGroupChangePolicy: OnRootMismatch
seccompProfile: { type: RuntimeDefault }
controllers:
audiobookshelf:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/advplyr/audiobookshelf
tag: 2.33.1@sha256:a4a5841bba093d81e5f4ad1eaedb4da3fda6dbb2528c552349da50ad1f7ae708
env:
TZ: ${TIMEZONE}
AUDIOBOOKSHELF_UID: 1001
AUDIOBOOKSHELF_GID: 1001
CONFIG_PATH: /config
METADATA_PATH: /config/metadata
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /healthcheck
port: &port 80
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 50m
memory: 100Mi
limits:
memory: 500Mi
service:
app:
controller: audiobookshelf
ports:
http:
port: *port
ingress:
app:
annotations:
external-dns.alpha.kubernetes.io/target: external.${SECRET_DOMAIN}
gethomepage.dev/enabled: "true"
gethomepage.dev/group: Media
gethomepage.dev/icon: sh-audiobookshelf.svg
gethomepage.dev/name: Audiobookshelf
className: external
hosts:
- host: "{{ .Release.Name }}.${SECRET_DOMAIN}"
paths:
- path: /
service:
identifier: app
port: http
persistence:
config:
existingClaim: audiobookshelf
cache:
type: emptyDir
globalMounts:
- path: /.npm
media:
type: nfs
server: ${SECRET_NAS_IP}
path: /volume1/Media
globalMounts:
- path: /Media
tmp:
type: emptyDir