-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathhelm-release.yaml
More file actions
116 lines (113 loc) · 3.17 KB
/
Copy pathhelm-release.yaml
File metadata and controls
116 lines (113 loc) · 3.17 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-labs/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: sonarr
namespace: media
labels:
component.kutara.io/part-of: standard-helm-release
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 4.6.2
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
values:
controllers:
sonarr:
type: statefulset
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/home-operations/sonarr
tag: 4.0.17.2969@sha256:6806001ccc2ec95d941c9c0de012dbcb59c6a33932cfc17f71e300bdd48cabfe
env:
TZ: America/New_York
SONARR__APP__INSTANCENAME: Sonarr
SONARR__APP__THEME: dark
SONARR__AUTH__METHOD: External
SONARR__AUTH__REQUIRED: DisabledForLocalAddresses
SONARR__LOG__DBENABLED: "False"
SONARR__LOG__LEVEL: info
SONARR__SERVER__PORT: &port 8989
SONARR__UPDATE__BRANCH: develop
envFrom:
- secretRef:
name: sonarr
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /ping
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: true
spec:
httpGet:
path: /ping
port: *port
failureThreshold: 30
periodSeconds: 10
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
resources:
requests:
cpu: 100m
limits:
memory: 4Gi
pod:
securityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
seccompProfile:
type: RuntimeDefault
service:
app:
controller: sonarr
ports:
http:
port: *port
route:
app:
parentRefs:
- name: cilium-internal
namespace: kube-system
hostnames:
- sonarr.qgr1.rabbito.tech
persistence:
config:
type: persistentVolumeClaim
storageClass: fast-ceph-block
accessMode: ReadWriteOnce
size: 10Gi
globalMounts:
- path: /config
media:
existingClaim: media-v2
globalMounts:
- path: /media
tmp:
type: emptyDir
globalMounts:
- path: /tmp