-
Notifications
You must be signed in to change notification settings - Fork 14
/
helmrelease.yaml
89 lines (89 loc) · 2.09 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
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: plex-meta-manager
namespace: media
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.0.4
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controllers:
main:
type: cronjob
annotations:
reloader.stakater.com/auto: "true"
cronjob:
schedule: 0 6 * * *
containers:
main:
image:
repository: docker.io/meisnate12/plex-meta-manager
tag: v1.19.1
command:
- /scripts/run.sh
env:
TZ: America/New_York
PUID: 568
PGID: 568
envFrom:
- secretRef:
name: plex-meta-manager-secret
resources:
requests:
cpu: 10m
memory: 4096M
limits:
memory: 8192M
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
persistence:
config:
enabled: true
existingClaim: pmm-config-pvc
config-file:
type: configMap
name: plex-meta-manager-configmap
globalMounts:
- path: /config/config.yml
subPath: config.yml
readOnly: true
config-prerolls:
type: configMap
name: plex-meta-manager-configmap
globalMounts:
- path: /config/Pre-rolls.yml
subPath: Pre-rolls.yml
readOnly: true
scripts:
type: configMap
name: plex-meta-manager-configmap
defaultMode: 0775
globalMounts:
- path: /scripts/run.sh
subPath: run.sh
readOnly: true
service:
main:
enabled: false