generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 13
/
helmrelease.yaml
94 lines (94 loc) · 2.48 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
---
# 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: media-browser
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.2.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
values:
controllers:
media-browser:
containers:
app:
image:
repository: docker.io/filebrowser/filebrowser
tag: v2.30.0
env:
TZ: ${TIMEZONE:=Etc/UTC}
FB_DATABASE: /config/filebrowser.db
FB_ROOT: /media
FB_LOG: stdout
FB_NOAUTH: true
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /health
port: &port 80
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 10m
memory: 64Mi
limits:
memory: 512Mi
pod:
securityContext:
runAsUser: 2000
runAsGroup: 2000
fsGroup: 2000
fsGroupChangePolicy: "OnRootMismatch"
service:
app:
controller: media-browser
ipFamilyPolicy: PreferDualStack
ports:
http:
port: *port
ingress:
app:
className: internal
annotations:
hajimari.io/icon: mdi:folder-play-outline
hosts:
- host: "{{ .Release.Name }}.${CLUSTER_DOMAIN}"
paths:
- path: /
service:
identifier: app
port: http
persistence:
config:
type: persistentVolumeClaim
accessMode: ReadWriteOnce
size: 1Gi
storageClass: ceph-block
media:
existingClaim: media-nfs