-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathhelmrelease.yaml
97 lines (97 loc) · 2.56 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
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app prowlarr
spec:
interval: 1h
chartRef:
kind: OCIRepository
name: app-template
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
values:
controllers:
prowlarr:
annotations:
reloader.stakater.com/auto: "true"
initContainers:
init-db:
image:
repository: ghcr.io/buroa/postgres-init
tag: 17
envFrom: &envFrom
- secretRef:
name: prowlarr-secret
containers:
app:
image:
repository: ghcr.io/buroa/prowlarr-develop
tag: 1.32.1.4983@sha256:d192edfb28e1a67384c3e6ae8356510e911c9e291072c51004b1b9fcb15f981d
env:
PROWLARR__APP__INSTANCENAME: Prowlarr
PROWLARR__APP__THEME: dark
PROWLARR__AUTH__METHOD: External
PROWLARR__AUTH__REQUIRED: DisabledForLocalAddresses
PROWLARR__LOG__LEVEL: info
PROWLARR__SERVER__PORT: &port 9696
PROWLARR__UPDATE__BRANCH: develop
TZ: America/Chicago
envFrom: *envFrom
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /ping
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
resources:
requests:
cpu: 10m
limits:
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
persistence:
config:
type: emptyDir
tmp:
type: emptyDir
route:
app:
hostnames:
- "{{ .Release.Name }}.ktwo.io"
parentRefs:
- name: internal
namespace: kube-system
sectionName: https
rules:
- backendRefs:
- port: *port
name: *app
service:
app:
controller: *app
ports:
http:
port: *port