-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelmrelease.yaml
More file actions
80 lines (80 loc) · 2.01 KB
/
helmrelease.yaml
File metadata and controls
80 lines (80 loc) · 2.01 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
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: radarr-exporter
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.7.3
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
driftDetection:
mode: enabled
values:
controllers:
radarr-exporter:
annotations:
reloader.stakater.com/auto: "true"
containers:
main:
image:
repository: ghcr.io/onedr0p/exportarr
tag: v2.3.0
args:
- radarr
- --enable-additional-metrics
- --enable-unknown-queue-items
env:
PORT: &port 9707
URL: http://radarr.default:80
API_KEY:
secretKeyRef:
name: radarr-exporter-secret
key: API_KEY
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /healthz
port: *port
failureThreshold: 5
periodSeconds: 10
readiness: *probes
resources:
requests:
cpu: 10m
memory: 100Mi
limits:
memory: 500Mi
service:
main:
controller: radarr-exporter
ports:
http:
port: *port
serviceMonitor:
main:
enabled: true
serviceName: radarr-exporter
endpoints:
- port: http
scheme: http
path: /metrics
interval: 5m
scrapeTimeout: 1m