[paperless] Added in postgres and redis as dependencies (#1237)

* [paperless] Added in postgres and redis as dependencies

Signed-off-by: Jonathan Bartlett <jonathan@jonnobrow.co.uk>
This commit is contained in:
Jonathan Scott Bartlett 2021-10-18 18:28:25 +01:00 committed by GitHub
parent fa4b5ef2e0
commit 3abce5f8d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 70 additions and 16 deletions

View File

@ -1,8 +1,8 @@
apiVersion: v2 apiVersion: v2
appVersion: 1.0.0 appVersion: 1.5.0
description: Paperless - Index and archive all of your scanned paper documents description: Paperless - Index and archive all of your scanned paper documents
name: paperless name: paperless
version: 7.0.1 version: 8.0.0
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- paperless - paperless
@ -12,7 +12,17 @@ sources:
- https://github.com/jonaswinkler/paperless-ng - https://github.com/jonaswinkler/paperless-ng
maintainers: maintainers:
- name: mr-onion-2 - name: mr-onion-2
- name: jonnobrow
email: jonathan@jonnobrow.co.uk
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.k8s-at-home.com repository: https://library-charts.k8s-at-home.com
version: 4.0.1 version: 4.0.1
- name: postgresql
version: 10.12.2
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
- name: redis
version: 15.0.0
repository: https://charts.bitnami.com/bitnami
condition: redis.enabled

View File

@ -1,6 +1,6 @@
# paperless # paperless
![Version: 7.0.1](https://img.shields.io/badge/Version-7.0.1-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square) ![Version: 8.0.0](https://img.shields.io/badge/Version-8.0.0-informational?style=flat-square) ![AppVersion: 1.5.0](https://img.shields.io/badge/AppVersion-1.5.0-informational?style=flat-square)
Paperless - Index and archive all of your scanned paper documents Paperless - Index and archive all of your scanned paper documents
@ -18,6 +18,8 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version | | Repository | Name | Version |
|------------|------|---------| |------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 10.12.2 |
| https://charts.bitnami.com/bitnami | redis | 15.0.0 |
| https://library-charts.k8s-at-home.com | common | 4.0.1 | | https://library-charts.k8s-at-home.com | common | 4.0.1 |
## TL;DR ## TL;DR
@ -66,7 +68,6 @@ helm install paperless k8s-at-home/paperless -f values.yaml
``` ```
## Custom configuration ## Custom configuration
N/A N/A
## Values ## Values
@ -75,19 +76,20 @@ N/A
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| additionalContainers | object | See values.yaml | Deploy local redis instance. |
| env | object | See below | See the following files for additional environment variables: https://github.com/jonaswinkler/paperless-ng/tree/master/docker/compose/ https://github.com/jonaswinkler/paperless-ng/blob/master/paperless.conf.example | | env | object | See below | See the following files for additional environment variables: https://github.com/jonaswinkler/paperless-ng/tree/master/docker/compose/ https://github.com/jonaswinkler/paperless-ng/blob/master/paperless.conf.example |
| env.COMPOSE_PROJECT_NAME | string | `"paperless"` | Project name | | env.COMPOSE_PROJECT_NAME | string | `"paperless"` | Project name |
| env.PAPERLESS_OCR_LANGUAGE | string | `"eng"` | OCR languages to install | | env.PAPERLESS_OCR_LANGUAGE | string | `"eng"` | OCR languages to install |
| env.PAPERLESS_REDIS | string | `"redis://localhost:6379"` | Redis to use | | env.PAPERLESS_REDIS | string | `nil` | Redis to use |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy | | image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"jonaswinkler/paperless-ng"` | image repository | | image.repository | string | `"jonaswinkler/paperless-ng"` | image repository |
| image.tag | string | `"1.4.5"` | image tag | | image.tag | string | `"1.5.0"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. | | ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence.consume | object | See values.yaml | Configure volume to monitor for new documents. | | persistence.consume | object | See values.yaml | Configure volume to monitor for new documents. |
| persistence.data | object | See values.yaml | Configure persistence for data. | | persistence.data | object | See values.yaml | Configure persistence for data. |
| persistence.export | object | See values.yaml | Configure export volume. | | persistence.export | object | See values.yaml | Configure export volume. |
| persistence.media | object | See values.yaml | Configure persistence for media. | | persistence.media | object | See values.yaml | Configure persistence for media. |
| postgresql | object | See values.yaml | Enable and configure postgresql database subchart under this key. For more options see [postgresql chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/postgresql) |
| redis | object | See values.yaml | Enable and configure redis subchart under this key. For more options see [redis chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/redis) |
| service | object | See values.yaml | Configures service settings for the chart. | | service | object | See values.yaml | Configures service settings for the chart. |
## Changelog ## Changelog
@ -96,6 +98,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [8.0.0]
#### Changed
- Upgraded the App Version to `1.5.0`
- Changed the image tag to `1.5.0`
- Include postgresql and redis charts from bitnami as Paperless supports both of these. This adds two new configuration sections and can replace the additionalContainers used for redis previously.
### [7.0.0] ### [7.0.0]
#### Changed #### Changed

View File

@ -9,6 +9,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [8.0.0]
#### Changed
- Upgraded the App Version to `1.5.0`
- Changed the image tag to `1.5.0`
- Include postgresql and redis charts from bitnami as Paperless supports both of these. This adds two new configuration sections and can replace the additionalContainers used for redis previously.
### [7.0.0] ### [7.0.0]
#### Changed #### Changed

View File

@ -4,6 +4,5 @@
{{- define "custom.custom.configuration" -}} {{- define "custom.custom.configuration" -}}
{{ template "custom.custom.configuration.header" . }} {{ template "custom.custom.configuration.header" . }}
N/A N/A
{{- end -}} {{- end -}}

View File

@ -1,3 +1,6 @@
env:
PAPERLESS_REDIS: redis://paperless-redis-headless:6379
persistence: persistence:
data: data:
enabled: true enabled: true
@ -11,3 +14,13 @@ persistence:
export: export:
enabled: true enabled: true
type: emptyDir type: emptyDir
redis:
enabled: true
architecture: standalone
auth:
enabled: false
master:
persistence:
enabled: false
fullnameOverride: paperless-redis

View File

@ -11,7 +11,7 @@ image:
# -- image pull policy # -- image pull policy
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# -- image tag # -- image tag
tag: 1.4.5 tag: 1.5.0
# -- See the following files for additional environment variables: # -- See the following files for additional environment variables:
# https://github.com/jonaswinkler/paperless-ng/tree/master/docker/compose/ # https://github.com/jonaswinkler/paperless-ng/tree/master/docker/compose/
@ -21,12 +21,14 @@ env:
# -- Project name # -- Project name
COMPOSE_PROJECT_NAME: paperless COMPOSE_PROJECT_NAME: paperless
# -- Redis to use # -- Redis to use
PAPERLESS_REDIS: redis://localhost:6379 PAPERLESS_REDIS:
# -- OCR languages to install # -- OCR languages to install
PAPERLESS_OCR_LANGUAGE: eng PAPERLESS_OCR_LANGUAGE: eng
# USERMAP_UID: 1000 # USERMAP_UID: 1000
# USERMAP_GID: 1000 # USERMAP_GID: 1000
# PAPERLESS_TIME_ZONE: Europe/London # PAPERLESS_TIME_ZONE: Europe/London
# -- Database host to use
PAPERLESS_DBHOST:
# -- Configures service settings for the chart. # -- Configures service settings for the chart.
# @default -- See values.yaml # @default -- See values.yaml
@ -76,10 +78,22 @@ persistence:
emptyDir: emptyDir:
enabled: false enabled: false
# -- Deploy local redis instance. # -- Enable and configure postgresql database subchart under this key.
# For more options see [postgresql chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/postgresql)
# @default -- See values.yaml # @default -- See values.yaml
additionalContainers: postgresql:
broker: enabled: false
name: broker postgresqlUsername: paperless
image: redis:6.0 postgresqlPassword: paperless
imagePullPolicy: IfNotPresent postgresqlDatabase: paperless
persistence:
enabled: false
# storageClass: ""
# -- Enable and configure redis subchart under this key.
# For more options see [redis chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/redis)
# @default -- See values.yaml
redis:
enabled: false
auth:
enabled: false