[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 appVersion: 1.0.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: 5.4.0 version: 6.0.0
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- paperless - paperless
@ -15,4 +15,4 @@ maintainers:
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.k8s-at-home.com repository: https://library-charts.k8s-at-home.com
version: 2.5.0 version: 3.2.0

View File

@ -1,6 +1,6 @@
# paperless # 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 Paperless - Index and archive all of your scanned paper documents
@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version | | 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 ## TL;DR
@ -75,30 +75,20 @@ N/A
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| additionalContainers[0].image | string | `"redis:6.0"` | | | additionalContainers | list | See values.yaml | Deploy local redis instance. |
| additionalContainers[0].imagePullPolicy | string | `"IfNotPresent"` | | | 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 |
| additionalContainers[0].name | string | `"broker"` | | | env.COMPOSE_PROJECT_NAME | string | `"paperless"` | Project name |
| env.COMPOSE_PROJECT_NAME | string | `"paperless"` | | | env.PAPERLESS_OCR_LANGUAGE | string | `"eng"` | OCR languages to install |
| env.PAPERLESS_OCR_LANGUAGE | string | `"eng"` | | | env.PAPERLESS_REDIS | string | `"redis://localhost:6379"` | Redis to use |
| env.PAPERLESS_REDIS | string | `"redis://localhost:6379"` | | | image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.pullPolicy | string | `"IfNotPresent"` | | | image.repository | string | `"jonaswinkler/paperless-ng"` | image repository |
| image.repository | string | `"jonaswinkler/paperless-ng"` | | | image.tag | string | `"1.4.5"` | image tag |
| image.tag | string | `"latest"` | | | ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| ingress.enabled | bool | `false` | | | persistence.consume | object | See values.yaml | Configure volume to monitor for new documents. |
| persistence.consume.emptyDir.enabled | bool | `false` | | | persistence.data | object | See values.yaml | Configure persistence for data. |
| persistence.consume.enabled | bool | `false` | | | persistence.export | object | See values.yaml | Configure export volume. |
| persistence.consume.mountPath | string | `"/usr/src/paperless/consume"` | | | persistence.media | object | See values.yaml | Configure persistence for media. |
| persistence.data.emptyDir.enabled | bool | `false` | | | service | object | See values.yaml | Configures service settings for the chart. |
| 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"` | |
## Changelog ## 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). 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] ### [5.3.2]
#### Added #### 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). 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] ### [5.3.2]
#### Added #### Added

View File

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

View File

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