-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
122 additions
and
153 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
73 changes: 73 additions & 0 deletions
73
kubernetes/main/apps/collab/paperless-ai/app/helmrelease.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta2.json | ||
apiVersion: helm.toolkit.fluxcd.io/v2 | ||
kind: HelmRelease | ||
metadata: | ||
name: paperless-ai | ||
spec: | ||
interval: 30m | ||
chart: | ||
spec: | ||
chart: app-template | ||
version: 3.3.2 | ||
interval: 30m | ||
sourceRef: | ||
kind: HelmRepository | ||
name: bjw-s-charts | ||
namespace: flux-system | ||
|
||
values: | ||
controllers: | ||
main: | ||
type: statefulset | ||
|
||
initContainers: | ||
init-db: | ||
image: | ||
repository: clusterzx/paperless-ai | ||
tag: 1.4.6@sha256:ed24b8aa1392cae598f376f1cc13074e58fa9913fd8594e45a640713f11c24c4 | ||
|
||
containers: | ||
main: | ||
image: | ||
repository: ghcr.io/paperless-ngx/paperless-ngx | ||
tag: 2.11.6 | ||
|
||
resources: | ||
requests: | ||
cpu: 11m | ||
memory: 2048Mi | ||
limits: | ||
memory: 2048Mi | ||
|
||
service: | ||
main: | ||
controller: main | ||
ports: | ||
http: | ||
port: &httpPort 8000 | ||
|
||
ingress: | ||
main: | ||
className: internal | ||
annotations: | ||
hajimari.io/enable: "true" | ||
hajimari.io/appName: "Paperless" | ||
hajimari.io/icon: arcticons:paperless | ||
hajimari.io/group: "collab" | ||
hajimari.io/instance: "admin" | ||
hosts: | ||
- host: &host paperless.${SECRET_DOMAIN} | ||
paths: | ||
- path: / | ||
service: | ||
identifier: main | ||
port: *httpPort | ||
|
||
persistence: | ||
library: | ||
existingClaim: paperless-data-pvc | ||
advancedMounts: | ||
main: | ||
main: | ||
- path: /app/data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
kubernetes/main/apps/collab/paperless-ai/app/longhorn-pvc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
namespace: media | ||
name: paperless-data-pvc | ||
labels: | ||
type: longhorn | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
volumeMode: Filesystem | ||
resources: | ||
requests: | ||
storage: 100Gi | ||
volumeName: paperless-data-pv | ||
storageClassName: paperless-data-storage-class | ||
|
||
--- | ||
apiVersion: v1 | ||
kind: PersistentVolume | ||
metadata: | ||
name: paperless-data-pv | ||
labels: | ||
type: longhorn | ||
recurring-job-group.longhorn.io/weekly-backup: enabled | ||
recurring-job-group.longhorn.io/daily-snapshot: enabled | ||
spec: | ||
capacity: | ||
storage: 100Gi | ||
volumeMode: Filesystem | ||
accessModes: | ||
- ReadWriteOnce | ||
persistentVolumeReclaimPolicy: Retain | ||
storageClassName: paperless-data-storage-class | ||
csi: | ||
driver: driver.longhorn.io | ||
fsType: xfs | ||
volumeAttributes: | ||
numberOfReplicas: "2" | ||
staleReplicaTimeout: "2880" | ||
volumeHandle: paperless-data-xfs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters