kubernetes/apps/media/bazarr/app/helmrelease.yaml
1
---
2
# yaml-language-server: $schema=https://k8s-schemas.home-operations.com/helm.toolkit.fluxcd.io/helmrelease_v2.json
3
apiVersion: helm.toolkit.fluxcd.io/v2
4
kind: HelmRelease
5
metadata:
6
name: bazarr
7
spec:
8
chartRef:
9
kind: OCIRepository
10
name: bazarr
11
interval: 1h
12
values:
13
controllers:
14
bazarr:
15
annotations:
16
reloader.stakater.com/auto: "true"
17
containers:
18
app:
19
image:
20
repository: ghcr.io/home-operations/bazarr
21
tag: 1.6.0@sha256:cd63bbd0986c93e238eb8b9442604d249f0d4080099b389f822abe2062044417
22
env:
23
BAZARR__PORT: &port 80
24
probes:
25
liveness:
26
enabled: true
27
spec:
28
periodSeconds: 30
29
timeoutSeconds: 5
30
failureThreshold: 5
31
readiness:
32
enabled: true
33
custom: true
34
spec:
35
httpGet:
36
path: /api/system/ping
37
port: *port
38
periodSeconds: 10
39
timeoutSeconds: 5
40
failureThreshold: 5
41
startup:
42
enabled: true
43
spec:
44
failureThreshold: 30
45
periodSeconds: 10
46
resources:
47
requests:
48
cpu: 10m
49
memory: 512Mi
50
limits:
51
memory: 1Gi
52
securityContext:
53
allowPrivilegeEscalation: false
54
readOnlyRootFilesystem: true
55
capabilities: { drop: ["ALL"] }
56
defaultPodOptions:
57
securityContext:
58
runAsNonRoot: true
59
runAsUser: 1000
60
runAsGroup: 1000
61
fsGroup: 1000
62
fsGroupChangePolicy: OnRootMismatch
63
service:
64
app:
65
ports:
66
http:
67
port: *port
68
route:
69
app:
70
hostnames:
71
- "{{ .Release.Name }}.janpuc.com"
72
parentRefs:
73
- name: envoy-internal
74
namespace: network
75
persistence:
76
config:
77
existingClaim: "{{ .Release.Name }}"
78
media:
79
type: nfs
80
server: bigmouth.internal
81
path: /mnt/Vault/Media
82
globalMounts:
83
- path: /media
84
tmp:
85
type: emptyDir