This repository has been archived by the owner on Jul 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.helmrelease.yaml
123 lines (120 loc) · 2.99 KB
/
example.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
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
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: bjw-s
namespace: flux-system
spec:
interval: 2h
url: https://bjw-s.github.io/helm-charts
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: jellyvr-config-v1
namespace: media
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: longhorn-configs
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: &app jellyvr
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 2.5.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controllers:
main:
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
runAsNonRoot: true
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
annotations:
reloader.stakater.com/auto: "true"
containers:
main:
image:
repository: ghcr.io/alyti/jellyvr
tag: latest
env:
TZ: ${TZ}
JELLYFIN_HOST: "http://jellyfin:8096"
JELLYFIN_REMOTE_HOST: "https://jellyfin.${DEV_DOMAIN}"
resources:
requests:
cpu: 10m
memory: 64Mi
limits:
memory: 512Mi
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /health
port: &port 3000
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 5
readiness: *probes
startup:
enabled: false
service:
main:
ports:
http:
port: *port
ingress:
main:
enabled: true
className: internal
annotations:
gethomepage.dev/enabled: "true"
gethomepage.dev/name: "Jellyvr"
gethomepage.dev/group: "Media"
gethomepage.dev/description: "VR Proxy for Jellyfin"
hosts:
- host: &host "{{ .Release.Name }}.${DEV_DOMAIN}"
paths: &paths
- path: /
service:
name: main
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
existingClaim: jellyvr-config-v1
globalMounts:
- path: /data