charts/charts/paperless
2020-11-27 13:28:29 +01:00
..
ci [paperless] New chart (#252) 2020-11-27 13:28:29 +01:00
templates [paperless] New chart (#252) 2020-11-27 13:28:29 +01:00
.helmignore [paperless] New chart (#252) 2020-11-27 13:28:29 +01:00
Chart.yaml [paperless] New chart (#252) 2020-11-27 13:28:29 +01:00
README.md [paperless] New chart (#252) 2020-11-27 13:28:29 +01:00
values.yaml [paperless] New chart (#252) 2020-11-27 13:28:29 +01:00

Paperless

This is a helm chart for Paperless. The documentation can be found here here.

This chart is not maintained by the upstream project and any issues with the chart should be raised here

TL;DR;

$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
$ helm install k8s-at-home/paperless

Installing the Chart

To install the chart with the release name my-release:

helm install --name my-release k8s-at-home/paperless

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release --purge

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The chart's values.yaml file contains a set of suggested values for a minimal deployment. Further configuration options are found in the common library. All configuration for the Paperless application itself is through environment variables. Please refer to the links provided in chart's values file.

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

helm install paperless \
  --set env.TZ="America/New_York" \
    k8s-at-home/paperless

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

helm install paperless k8s-at-home/paperless --values values.yaml

Backup & Restore

A more elegant solution will be added, but until then your document can be exported and re-imported by running the following commands directly on the pod. More info.

Backup: /usr/src/paperless/src/manage.py document_exporter /path/to/somewhere/
Restore: /usr/src/paperless/src/manage.py document_importer /path/to/somewhere/