-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathhelm-release.yml
More file actions
115 lines (115 loc) · 3.15 KB
/
Copy pathhelm-release.yml
File metadata and controls
115 lines (115 loc) · 3.15 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
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/common-4.5.0/charts/library/common/values.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: autobrr
spec:
interval: 1h
chart:
spec:
chart: app-template
version: 5.0.1
interval: 30m
sourceRef:
kind: HelmRepository
name: bjw-s-labs
namespace: flux-system
values:
controllers:
autobrr:
type: statefulset
annotations:
reloader.stakater.com/auto: "true"
replicas: 1
statefulset:
volumeClaimTemplates:
- name: config
accessMode: ReadWriteOnce
size: "${VOLSYNC_CAPACITY}"
storageClass: ceph-block
dataSourceRef:
kind: ReplicationDestination
apiGroup: volsync.backube
name: "${APP}"
globalMounts:
- path: /config
pod:
securityContext:
runAsUser: 1999
runAsGroup: &group 1999
fsGroup: *group
fsGroupChangePolicy: "OnRootMismatch"
runAsNonRoot: true
containers:
app:
image:
repository: ghcr.io/autobrr/autobrr
tag: v1.83.0
pullPolicy: IfNotPresent
env:
TZ: "America/New_York"
AUTOBRR__CHECK_FOR_UPDATES: "false"
AUTOBRR__HOST: 0.0.0.0
AUTOBRR__LOG_LEVEL: DEBUG
AUTOBRR__PORT: &port 7474
envFrom:
- secretRef:
name: autobrr-secret
probes:
liveness:
enabled: true
spec:
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 5
readiness:
enabled: true
custom: true
spec:
httpGet:
path: /api/healthz/readiness
port: *port
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
startup:
enabled: true
spec:
failureThreshold: 30
periodSeconds: 10
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
resources:
requests:
cpu: 10m
memory: 128Mi
limits:
memory: 256Mi
service:
app:
controller: autobrr
ports:
http:
port: *port
route:
private:
kind: HTTPRoute
hostnames: ["{{ .Release.Name }}.chkpwd.com"]
parentRefs:
- name: private
namespace: networking
sectionName: https
persistence:
log:
type: emptyDir
globalMounts:
- path: /config/log
tmp:
type: emptyDir
globalMounts:
- path: /tmp