-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelmrelease.yaml
70 lines (69 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
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/app-template-3.6.1/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: isponsorblocktv
namespace: youtube
spec:
chart:
spec:
chart: app-template
version: 3.6.1
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
namespace: flux-system
name: bjw-s
interval: 1h
driftDetection:
mode: enabled
values:
controllers:
main:
initContainers:
set-api-key:
image:
repository: mikefarah/yq
tag: 4.45.1@sha256:2c100efaca06e95ffe452cfe9bfc0048b493f0f3a072d5fe06f828c638d9462b
pullPolicy: IfNotPresent
args:
- --inplace
- .apikey = strenv(YOUTUBE_API_KEY)
- /app/data/config.json
env:
YOUTUBE_API_KEY:
secretKeyRef:
name: youtube
key: api_key
containers:
main:
image:
repository: ghcr.io/dmunozv04/isponsorblocktv
tag: v2.2.1@sha256:97c9e4220074b67169cdafc7cb00b1fe53be9e1aadee08b81b05a3162c6ce426
pullPolicy: IfNotPresent
env:
TZ: America/Chicago
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: [ALL] }
pod:
labels:
policy.gabe565.com/egress-world: "true"
terminationGracePeriodSeconds: 1
securityContext:
runAsNonRoot: true
runAsUser: 65534
runAsGroup: 65534
fsGroup: 65534
fsGroupChangePolicy: OnRootMismatch
seccompProfile: { type: RuntimeDefault }
persistence:
data:
enabled: true
retain: true
accessMode: ReadWriteOnce
storageClass: longhorn-ssd
size: 8Gi
globalMounts:
- path: /app/data