-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelmrelease.yaml
More file actions
70 lines (68 loc) · 1.8 KB
/
helmrelease.yaml
File metadata and controls
70 lines (68 loc) · 1.8 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
---
# 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: qbittorrent-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:
qbittorrent-exporter:
containers:
app:
image:
repository: ghcr.io/esanchezm/prometheus-qbittorrent-exporter
tag: v1.6.0@sha256:b987d19693a5b2fe7314b22009c6302e084ec801fcf96afaf14065b4cdafc842
env:
EXPORTER_PORT: &port 8000
QBITTORRENT_HOST: qbittorrent.default.svc.cluster.local
QBITTORRENT_PORT: 80
resources:
requests:
cpu: 5m
memory: 36M
limits:
memory: 128M
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
runAsNonRoot: true
service:
app:
controller: qbittorrent-exporter
ports:
http:
port: *port
serviceMonitor:
app:
serviceName: qbittorrent-exporter
endpoints:
- port: http
scheme: http
path: /metrics
interval: 1m
scrapeTimeout: 1m