[paperless] Update to common-v3 (#1039)

* [paperless] Update to common-v3

Co-authored-by: angelnu <git@angelnucom>
This commit is contained in:
Angel Nunez Mencias 2021-06-22 10:42:02 +02:00 committed by GitHub
parent 750d536fbd
commit 1659f3c867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 71 additions and 44 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.0.0
description: Paperless - Index and archive all of your scanned paper documents
name: paperless
version: 5.4.0
version: 6.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- paperless
@ -15,4 +15,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.2.0

View File

@ -1,6 +1,6 @@
# paperless
![Version: 5.4.0](https://img.shields.io/badge/Version-5.4.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
![Version: 6.0.0](https://img.shields.io/badge/Version-6.0.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
Paperless - Index and archive all of your scanned paper documents
@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.2.0 |
## TL;DR
@ -75,30 +75,20 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| additionalContainers[0].image | string | `"redis:6.0"` | |
| additionalContainers[0].imagePullPolicy | string | `"IfNotPresent"` | |
| additionalContainers[0].name | string | `"broker"` | |
| env.COMPOSE_PROJECT_NAME | string | `"paperless"` | |
| env.PAPERLESS_OCR_LANGUAGE | string | `"eng"` | |
| env.PAPERLESS_REDIS | string | `"redis://localhost:6379"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"jonaswinkler/paperless-ng"` | |
| image.tag | string | `"latest"` | |
| ingress.enabled | bool | `false` | |
| persistence.consume.emptyDir.enabled | bool | `false` | |
| persistence.consume.enabled | bool | `false` | |
| persistence.consume.mountPath | string | `"/usr/src/paperless/consume"` | |
| persistence.data.emptyDir.enabled | bool | `false` | |
| persistence.data.enabled | bool | `false` | |
| persistence.data.mountPath | string | `"/usr/src/paperless/data"` | |
| persistence.export.emptyDir.enabled | bool | `false` | |
| persistence.export.enabled | bool | `false` | |
| persistence.export.mountPath | string | `"/usr/src/paperless/export"` | |
| persistence.media.emptyDir.enabled | bool | `false` | |
| persistence.media.enabled | bool | `false` | |
| persistence.media.mountPath | string | `"/usr/src/paperless/media"` | |
| service.port.port | int | `8000` | |
| strategy.type | string | `"Recreate"` | |
| additionalContainers | list | 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.COMPOSE_PROJECT_NAME | string | `"paperless"` | Project name |
| env.PAPERLESS_OCR_LANGUAGE | string | `"eng"` | OCR languages to install |
| env.PAPERLESS_REDIS | string | `"redis://localhost:6379"` | Redis to use |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"jonaswinkler/paperless-ng"` | image repository |
| image.tag | string | `"1.4.5"` | image tag |
| 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.data | object | See values.yaml | Configure persistence for data. |
| persistence.export | object | See values.yaml | Configure export volume. |
| persistence.media | object | See values.yaml | Configure persistence for media. |
| service | object | See values.yaml | Configures service settings for the chart. |
## Changelog
@ -106,6 +96,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).
### [6.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.2.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.2.0/charts/stable/common/) for the up-to-date values.
- Changed the image tag to `1.4.5`.
### [5.3.2]
#### Added

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).
### [6.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.2.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.2.0/charts/stable/common/) for the up-to-date values.
- Changed the image tag to `1.4.5`.
### [5.3.2]
#### Added

View File

@ -1,17 +1,13 @@
persistence:
data:
enabled: true
emptyDir:
enabled: true
type: emptyDir
media:
enabled: true
emptyDir:
enabled: true
type: emptyDir
consume:
enabled: true
emptyDir:
enabled: true
type: emptyDir
export:
enabled: true
emptyDir:
enabled: true
type: emptyDir

View File

@ -6,53 +6,78 @@
#
image:
# -- image repository
repository: jonaswinkler/paperless-ng
# -- image pull policy
pullPolicy: IfNotPresent
tag: latest
# -- image tag
tag: 1.4.5
strategy:
type: Recreate
# 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/blob/master/paperless.conf.example
# @default -- See below
env:
# -- Project name
COMPOSE_PROJECT_NAME: paperless
# -- Redis to use
PAPERLESS_REDIS: redis://localhost:6379
# -- OCR languages to install
PAPERLESS_OCR_LANGUAGE: eng
# USERMAP_UID: 1000
# USERMAP_GID: 1000
# PAPERLESS_TIME_ZONE: Europe/London
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
port:
port: 8000
main:
ports:
http:
port: 8000
ingress:
enabled: false
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
persistence:
# -- Configure persistence for data.
# @default -- See values.yaml
data:
enabled: false
mountPath: /usr/src/paperless/data
accessMode: ReadWriteOnce
emptyDir:
enabled: false
# -- Configure persistence for media.
# @default -- See values.yaml
media:
enabled: false
mountPath: /usr/src/paperless/media
accessMode: ReadWriteOnce
emptyDir:
enabled: false
# -- Configure volume to monitor for new documents.
# @default -- See values.yaml
consume:
enabled: false
mountPath: /usr/src/paperless/consume
accessMode: ReadWriteOnce
emptyDir:
enabled: false
# -- Configure export volume.
# @default -- See values.yaml
export:
enabled: false
mountPath: /usr/src/paperless/export
accessMode: ReadWriteOnce
emptyDir:
enabled: false
# -- Deploy local redis instance.
# @default -- See values.yaml
additionalContainers:
- name: broker
image: redis:6.0