-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathrelease-javi.yaml
66 lines (63 loc) · 1.75 KB
/
release-javi.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
---
# 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: paperless-javi
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 3.6.0
interval: 15m
sourceRef:
kind: HelmRepository
name: bjw-s-helm-charts
namespace: flux-system
# See https://github.com/bjw-s/helm-charts/blob/main/charts/library/common/values.yaml
values:
controllers:
main:
containers:
app:
env:
PAPERLESS_IGNORE_DATES: “1984-09-09”
PAPERLESS_URL: https://paperless-javi.pub.${CLUSTER_DOMAIN}
persistence:
data:
volumeSpec:
nfs:
path: "${NFS_KUBERNETES}/paperless/javi/data"
media:
volumeSpec:
nfs:
path: "${NFS_KUBERNETES}/paperless/javi/media"
consume:
volumeSpec:
nfs:
path: "${NFS_DOWNLOADS}/scanner/javi"
export:
volumeSpec:
nfs:
path: "${NFS_KUBERNETES}/paperless/javi/export"
ingress:
main:
annotations:
nginx.ingress.kubernetes.io/configuration-snippet: |
auth_request_set $required_usernames 'javier';
hosts:
- host: paperless-javi.pub.${CLUSTER_DOMAIN}
paths: &paths
- path: /
pathType: Prefix
service:
identifier: main
port: http
- host: paperless-javi.home.${CLUSTER_DOMAIN}
paths: *paths
valuesFrom:
- kind: ConfigMap
name: "paperless-helm-values"
valuesKey: commmon.yaml
optional: false