-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
helmrelease.yaml
98 lines (98 loc) 路 2.49 KB
/
helmrelease.yaml
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
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app autobrr
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.2.1
sourceRef:
kind: HelmRepository
name: bjw-s-charts
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
values:
controllers:
autobrr:
annotations:
reloader.stakater.com/auto: "true"
initContainers:
init-db:
image:
repository: ghcr.io/buroa/postgres-init
tag: 16
envFrom: &envFrom
- secretRef:
name: autobrr-secret
containers:
app:
image:
repository: ghcr.io/autobrr/autobrr
tag: v1.42.0@sha256:c38f2d0f31a63b98285049524115b238dbb9f1a39d5f60269dd8e9a19de7ebae
env:
AUTOBRR__CHECK_FOR_UPDATES: false
AUTOBRR__HOST: 0.0.0.0
AUTOBRR__PORT: &port 7474
AUTOBRR__LOG_LEVEL: INFO
TZ: ${TIMEZONE}
envFrom: *envFrom
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /api/healthz/liveness
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
resources:
requests:
cpu: 10m
limits:
memory: 256Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
ingress:
app:
className: internal
annotations:
hajimari.io/icon: mdi:bunny
hosts:
- host: &host "{{ .Release.Name }}.${PUBLIC_DOMAIN}"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host
service:
app:
controller: *app
ports:
http:
port: *port