Skip to content

Commit 4792f47

Browse files
committedFeb 23, 2025
update bazarr to HelmRelease
1 parent a40cfe4 commit 4792f47

File tree

5 files changed

+124
-90
lines changed

5 files changed

+124
-90
lines changed
 

‎kubernetes/apps/production/arr/bazarr/deployment.yaml

-52
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
apiVersion: helm.toolkit.fluxcd.io/v2
2+
kind: HelmRelease
3+
metadata:
4+
name: &app bazarr
5+
namespace: arr
6+
spec:
7+
interval: 15m
8+
chart:
9+
spec:
10+
chart: app-template
11+
version: 3.7.1
12+
interval: 30m
13+
sourceRef:
14+
kind: HelmRepository
15+
name: bjw-s
16+
namespace: flux-system
17+
18+
install:
19+
remediation:
20+
retries: 3
21+
upgrade:
22+
remediation:
23+
retries: 3
24+
25+
values:
26+
global:
27+
fullnameOverride: *app
28+
namespace: arr
29+
30+
controllers:
31+
bazarr:
32+
enabled: true
33+
type: statefulset
34+
annotations:
35+
reloader.stakater.com/auto: "true"
36+
37+
replicas: 1
38+
39+
statefulset:
40+
volumeClaimTemplates:
41+
- name: bazarr-config
42+
accessMode: ReadWriteOnce
43+
size: 1Gi
44+
storageClass: longhorn
45+
globalMounts:
46+
- path: /config
47+
48+
pod:
49+
securityContext:
50+
runAsUser: 1000
51+
runAsGroup: &group 1000
52+
fsGroup: *group
53+
fsGroupChangePolicy: "OnRootMismatch"
54+
dnsPolicy: None
55+
dnsConfig:
56+
nameservers:
57+
- 10.43.0.10
58+
- 1.1.1.1
59+
- 8.8.8.8
60+
61+
containers:
62+
app:
63+
image:
64+
repository: ghcr.io/onedr0p/bazarr
65+
tag: 1.5.1
66+
pullPolicy: IfNotPresent
67+
env:
68+
TZ: "${TZ}"
69+
BAZARR__INSTANCE_NAME: *app
70+
BAZARR__PORT: &port 6767
71+
BAZARR__APPLICATION_URL: "https://bazarr.${LOCAL_DOMAIN}"
72+
BAZARR__LOG_LEVEL: info
73+
74+
probes:
75+
liveness:
76+
enabled: false
77+
78+
securityContext:
79+
allowPrivilegeEscalation: false
80+
capabilities:
81+
drop:
82+
- ALL
83+
84+
resources:
85+
requests:
86+
cpu: 100m
87+
memory: 150Mi
88+
limits:
89+
memory: 256Mi
90+
91+
service:
92+
app:
93+
primary: true
94+
controller: bazarr
95+
ports:
96+
http:
97+
port: *port
98+
99+
ingress:
100+
internal:
101+
enabled: true
102+
className: nginx
103+
hosts:
104+
- host: "bazarr.${LOCAL_DOMAIN}"
105+
paths:
106+
- path: /
107+
pathType: Prefix
108+
service:
109+
identifier: app
110+
port: http
111+
tls:
112+
- hosts:
113+
- "bazarr.${LOCAL_DOMAIN}"
114+
secretName: local-mafyuh-dev-production-tls
115+
116+
persistence:
117+
data:
118+
enabled: true
119+
type: nfs
120+
server: "${NAS_IP}"
121+
path: /mnt/thePool/thePoolShare
122+
globalMounts:
123+
- path: /data

‎kubernetes/apps/production/arr/bazarr/ingress.yaml

-22
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4-
- deployment.yaml
5-
- service.yaml
6-
- ingress.yaml
4+
- helmrelease.yaml

‎kubernetes/apps/production/arr/bazarr/service.yaml

-13
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.