-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelmrelease.yaml
More file actions
116 lines (116 loc) · 2.96 KB
/
Copy pathhelmrelease.yaml
File metadata and controls
116 lines (116 loc) · 2.96 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://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app lidarr
namespace: media
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.7.3
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
defaultPodOptions:
securityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
controllers:
main:
annotations:
reloader.stakater.com/auto: "true"
configmap.reloader.stakater.com/reload: "lidarr-pushover"
initContainers:
init-db:
image:
repository: ghcr.io/onedr0p/postgres-init
tag: 16
pullPolicy: IfNotPresent
envFrom: &envFrom
- secretRef:
name: lidarr-secret
containers:
main:
image:
repository: ghcr.io/onedr0p/lidarr-develop
tag: 2.5.2.4316@sha256:6b1b51ca85dad4f0376b6f86df4cb24d1d6c621ba9d47c1bde26cdb940f2aeb6
env:
TZ: "${TIMEZONE}"
LIDARR__INSTANCE_NAME: Lidarr
LIDARR__PORT: &port 80
LIDARR__LOG_LEVEL: info
PUSHOVER_APP_URL: &host "{{ .Release.Name }}.parsec.sh"
PUSHOVER_PRIORITY: "0"
envFrom:
- secretRef:
name: lidarr-secret
resources:
requests:
cpu: 10m
memory: 250Mi
limits:
memory: 2000Mi
service:
main:
ports:
http:
port: *port
ingress:
main:
enabled: true
className: internal
hosts:
- host: &host "{{ .Release.Name }}.parsec.sh"
paths:
- path: /
service:
name: main
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
existingClaim: *app
globalMounts:
- path: /config
music:
type: nfs
server: 10.1.0.3
path: /mnt/Data/media/audio
globalMounts:
- path: /music
readOnly: false
downloads:
type: nfs
server: 10.1.0.3
path: /mnt/Data/media/downloads
globalMounts:
- path: /media/downloads
scripts:
type: configMap
name: lidarr-pushover
defaultMode: 0775
globalMounts:
- path: /scripts/pushover-notify.sh
subPath: pushover-notify.sh
readOnly: true