paperless

by pascaliske

Helm chartv7.0.0App 2.20.2Verified publisher

A Helm chart for paperless-ngx

About this chart

paperless

A Helm chart for paperless-ngx

Requirements

  • helm - Refer to their docs to get started.

Usage

To use this chart add the repo as follows:

helm repo add pascaliske https://charts.pascaliske.dev

If you had already added this repo earlier, run helm repo update to retrieve the latest versions of the packages.

To install this chart simply run the following command:

helm install paperless pascaliske/paperless

To uninstall this chart simply run the following command:

helm delete paperless

Values

The following values can be used to adjust the helm chart.

KeyTypeDefaultDescription
affinityobject{}Pod-level affinity. More info here.
certificate.annotationsobject{}Additional annotations for the certificate object.
certificate.createboolfalseCreate an Certificate object for the exposed chart.
certificate.dnsNameslist[]List of subject alternative names for the certificate.
certificate.issuerRef.kindstring"ClusterIssuer"Type of the referenced certificate issuer. Can be "Issuer" or "ClusterIssuer".
certificate.issuerRef.namestring""Name of the referenced certificate issuer.
certificate.labelsobject{}Additional labels for the certificate object.
certificate.secretNamestring""Name of the secret in which the certificate will be stored. Defaults to the first item in dnsNames.
consumption.csiobject{}CSI storage volume for the consumption directory. Only used if type equals csi.
consumption.emptyDirobject{}Temporary emptyDir volume for the consumption directory. Only used if type equals emptyDir or is unknown.
consumption.enabledbooltrueEnable the volume mount of a consumption directory.
consumption.hostPathobject{}Host path volume for the consumption directory. Only used if type equals hostPath.
consumption.mountPathstring"/consumption"Mount path of the consumption directory inside the container.
consumption.nfsobject{}NFS storage volume for the consumption directory. Only used if type equals nfs.
consumption.persistentVolumeClaimobject{}PersistentVolumeClaim for the consumption directory. Only used if type equals pvc.
consumption.typestring"emptyDir"Type of the target volume for the consumption directory. Possible values are: hostPath, pvc, csi, nfs, emptyDir.
controller.annotationsobject{}Additional annotations for the controller object.
controller.enabledbooltrueCreate a workload for this chart.
controller.kindstring"Deployment"Type of the workload object.
controller.labelsobject{}Additional labels for the controller object.
controller.replicasint1The number of replicas.
controller.updateStrategyobject{}The controller update strategy. Currently only applies to controllers of kind Deployment.
envlist[{"name":"TZ","value":"UTC"}]Allow passing in environment variables to the container - supported are both value and valueFrom.
env[0]object{"name":"TZ","value":"UTC"}Timezone for the container.
export.cronJob.annotationsobject{}Additional annotations for the cronjob object.
export.cronJob.enabledboolfalseCreate a CronJob object for automated exports.
export.cronJob.failedJobsHistoryLimitint1The number of failed finished jobs to retain.
export.cronJob.labelsobject{}Additional labels for the cronjob object.
export.cronJob.schedulestring"0 4 * * 1"Schedule for automated exports.
export.cronJob.successfulJobsHistoryLimitint3The number of successful finished jobs to retain.
export.cronJob.suspendboolfalseEnable/disable the cron job schedule quickly.
export.csiobject{}CSI storage volume for the consumption directory. Only used if type equals csi.
export.emptyDirobject{}Temporary emptyDir volume for the consumption directory. Only used if type equals emptyDir or is unknown.
export.enabledboolfalseEnable the volume mount of an export directory for backups using the document exporter.
export.hostPathobject{}Host path volume for the consumption directory. Only used if type equals hostPath.
export.mountPathstring"/export"Mount path of the export directory inside the container.
export.nfsobject{}NFS storage volume for the consumption directory. Only used if type equals nfs.
export.persistentVolumeClaimobject{}PersistentVolumeClaim for the consumption directory. Only used if type equals pvc.
export.typestring"emptyDir"Type of the target volume for the export directory. Possible values are: hostPath, pvc, csi, nfs, emptyDir.
extraContainersobject{}Specify any extra containers here as dictionary items - each should have its own key.
extraObjectslist[]Specify extra objects.
extraVolumeMountslist[]Specify extra volume mounts for the default containers.
extraVolumeslist[]Specify extra volumes for the workload.
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"The pull policy for the controller.
image.registrystring"ghcr.io"The registry to pull the image from.
image.repositorystring"paperless-ngx/paperless-ngx"The repository to pull the image from.
image.tagstring.Chart.AppVersionThe docker tag, if left empty chart's appVersion will be used.
ingressRoute.annotationsobject{}Additional annotations for the ingress route object.
ingressRoute.createboolfalseCreate an IngressRoute object for exposing this chart.
ingressRoute.entryPointslist[]List of entry points on which the ingress route will be available.
ingressRoute.labelsobject{}Additional labels for the ingress route object.
ingressRoute.middlewareslist[]List of middleware objects for the ingress route.
ingressRoute.rulestring""Matching rule for the underlying router.
ingressRoute.tlsSecretNamestring""Use an existing secret containing the TLS certificate.
media.csiobject{}CSI storage volume for the media directory. Only used if type equals csi.
media.emptyDirobject{}Temporary emptyDir volume for the media directory. Only used if type equals emptyDir or is unknown.
media.enabledboolfalseEnable the volume mount of a media directory.
media.hostPathobject{}Host path volume for the media directory. Only used if type equals hostPath.
media.mountPathstring"/media"Mount path of the media directory inside the container.
media.nfsobject{}NFS storage volume for the media directory. Only used if type equals nfs.
media.persistentVolumeClaimobject{}PersistentVolumeClaim for the media directory. Only used if type equals pvc.
media.typestring"emptyDir"Type of the target volume for the media directory. Possible values are: hostPath, pvc, csi, nfs, emptyDir.
nameOverridestring""
nodeSelectorobject{}Pod-level node selector. More info here.
persistentVolumeClaim.accessModestring"ReadWriteOnce"Access mode of the persistent volume claim object.
persistentVolumeClaim.annotationsobject{}Additional annotations for the persistent volume claim object.
persistentVolumeClaim.createbooltrueCreate a new persistent volume claim object.
persistentVolumeClaim.existingPersistentVolumeClaimstring""Use an existing persistent volume claim object.
persistentVolumeClaim.labelsobject{}Additional labels for the persistent volume claim object.
persistentVolumeClaim.mountPathstring"/usr/src/paperless"Mount path of the persistent volume claim object.
persistentVolumeClaim.sizestring"1Gi"Storage request size for the persistent volume claim object.
persistentVolumeClaim.storageClassNamestring""Storage class name for the persistent volume claim object.
persistentVolumeClaim.volumeModestring"Filesystem"Volume mode of the persistent volume claim object.
ports.http.enabledbooltrueEnable the port inside the Deployment and Service objects.
ports.http.nodePortstringnilThe external port used if .service.type == NodePort.
ports.http.portint8000The port used as internal port and cluster-wide port if .service.type == ClusterIP.
ports.http.protocolstring"TCP"The protocol used for the service.
rbac.annotationsobject{}Additional annotations for the role and role binding objects.
rbac.createbooltrueCreate Role and RoleBinding objects.
rbac.labelsobject{}Additional labels for the role and role binding objects.
redisobject{"enabled":false}Configure redis subchart under this key. More info here.
redis.enabledboolfalseEnable redis subchart.
resourcesobject{}Compute resources used by the container. More info here.
secret.annotationsobject{}Additional annotations for the secret object.
secret.createbooltrueCreate a new secret containing the secret values.
secret.existingSecretstring""Use an existing secret to store the secret values. Please note: keys inside the existing secret must match the keys from below and still need to be provided with non-empty values!
secret.labelsobject{}Additional labels for the secret object.
secret.valuesobject`{"PAPERLESS_SECRET_KEY":"{{ randAlphaNum 42b64enc }}"}`
secret.values.PAPERLESS_SECRET_KEYstring`"{{ randAlphaNum 42b64enc }}"`
securityContextobject{"fsGroup":1000,"runAsGroup":1000,"runAsNonRoot":true,"runAsUser":1000}Pod-level security attributes. More info here.
service.annotationsobject{}Additional annotations for the service object.
service.clusterIPstring""ClusterIP used if service type is ClusterIP.
service.enabledbooltrueCreate a service for exposing this chart.
service.labelsobject{}Additional labels for the service object.
service.loadBalancerIPstring""LoadBalancerIP if service type is LoadBalancer.
service.loadBalancerSourceRangeslist[]Allowed addresses when service type is LoadBalancer.
service.typestring"ClusterIP"The service type used.
serviceAccount.annotationsobject{}Additional annotations for the role and role binding objects.
serviceAccount.createbooltrueCreate a ServiceAccount object.
serviceAccount.labelsobject{}Additional labels for the role and role binding objects.
serviceAccount.namestring""Specify the service account used for the controller.
tolerationslist[]Pod-level tolerations. More info here.
trash.csiobject{}CSI storage volume for the consumption directory. Only used if type equals csi.
trash.emptyDirobject{}Temporary emptyDir volume for the consumption directory. Only used if type equals emptyDir or is unknown.
trash.enabledboolfalseEnable the volume mount of a trash directory.
trash.hostPathobject{}Host path volume for the consumption directory. Only used if type equals hostPath.
trash.mountPathstring"/trash"Mount path of the trash directory inside the container.

Deploy paperless with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has paperless on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartpaperless is pinned at v7.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply