-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathhelmrelease.yaml
More file actions
152 lines (139 loc) · 3.88 KB
/
Copy pathhelmrelease.yaml
File metadata and controls
152 lines (139 loc) · 3.88 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/common-4.0.1/charts/library/common/values.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app prowlarr
namespace: arr
spec:
interval: 15m
chartRef:
kind: OCIRepository
name: prowlarr
values:
global:
fullnameOverride: *app
namespace: arr
controllers:
prowlarr:
enabled: true
type: deployment
replicas: 1
pod:
securityContext:
runAsUser: 1000
runAsGroup: &group 1000
fsGroup: *group
fsGroupChangePolicy: "OnRootMismatch"
containers:
app:
image:
repository: ghcr.io/home-operations/prowlarr
tag: 2.3.5.5327
pullPolicy: IfNotPresent
env:
TZ: "${TZ}"
PROWLARR__INSTANCE_NAME: *app
PROWLARR__PORT: &port 9696
PROWLARR__APPLICATION_URL: "https://prowlarr.${LOCAL_DOMAIN}"
PROWLARR__THEME: dark
PROWLARR__LOG_LEVEL: info
PROWLARR__AUTH__METHOD: External
PROWLARR__AUTH__REQUIRED: DisabledForLocalAddresses
PROWLARR__AUTH__APIKEY:
valueFrom:
secretKeyRef:
name: recyclarr-secrets
key: PROWLARR_API_KEY
probes:
liveness:
enabled: false
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
resources:
requests:
cpu: 50m
memory: 150Mi
limits:
memory: 512Mi
metrics:
dependsOn: app
image:
repository: ghcr.io/onedr0p/exportarr
tag: v2.3.0
env:
PORT: &metricsPort 9707
URL: "http://{{ .Release.Name }}-app.{{ .Release.Namespace }}.svc.cluster.local:9696"
APIKEY:
valueFrom:
secretKeyRef:
name: recyclarr-secrets
key: PROWLARR_API_KEY
args: ["prowlarr"]
resources:
requests:
cpu: 10m
memory: 100Mi
limits:
memory: 125Mi
service:
app:
primary: true
controller: prowlarr
ports:
http:
port: *port
metrics:
controller: prowlarr
ports:
metrics:
port: *metricsPort
serviceMonitor:
main:
enabled: true
serviceName: '{{ include "bjw-s.common.lib.chart.names.fullname" . }}-metrics'
endpoints:
- port: metrics
scheme: http
path: /metrics
interval: 1m
scrapeTimeout: 10s
route:
internal:
enabled: true
kind: HTTPRoute
hostnames: ["{{ .Release.Name }}.mafyuh.dev"]
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: prowlarr-app
port: *port
- matches:
- path:
type: PathPrefix
value: /metrics
backendRefs:
- name: prowlarr-metrics
port: *metricsPort
parentRefs:
- name: envoy-external
namespace: kube-system
sectionName: https
persistence:
config:
existingClaim: "{{ .Release.Name }}"
globalMounts:
- path: /config
data:
enabled: true
type: nfs
server: "${NAS_IP}"
path: /mnt/thePool/thePoolShare
globalMounts:
- path: /data