paperless-ngx - replace boilerplate with template

This commit is contained in:
Stavros kois
2023-11-06 19:54:39 +02:00
committed by Stavros Kois
parent c0be8e667d
commit 1218a343c5
6 changed files with 11 additions and 46 deletions

View File

@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: file://../../../common
version: 1.1.1
digest: sha256:a7dbe3e4d42dbcd4325776e5e01a1d630c7f185f79e7ebf22b1b9cc80f56eed7
generated: "2023-09-12T16:52:35.658245695+03:00"
version: 1.2.1
digest: sha256:d695592ea5213fe64453171205ca326015d02df3888a7858becc0c733b0de4c7
generated: "2023-11-06T19:53:39.992943715+02:00"

View File

@@ -3,7 +3,7 @@ description: Paperless-ngx is a document management system that transforms your
annotations:
title: Paperless-ngx
type: application
version: 1.1.1
version: 1.1.2
apiVersion: v2
appVersion: 1.17.4
kubeVersion: '>=1.16.0-0'
@@ -14,7 +14,7 @@ maintainers:
dependencies:
- name: common
repository: file://../../../common
version: 1.1.1
version: 1.2.1
home: https://docs.paperless-ngx.com
icon: https://media.sys.truenas.net/apps/paperless-ngx/icons/icon.svg
sources:

View File

@@ -71,34 +71,8 @@ persistence:
mountPath: {{ $storage.mountPath }}
{{- end }}
postgresdata:
enabled: true
type: {{ .Values.paperlessStorage.pgData.type }}
datasetName: {{ .Values.paperlessStorage.pgData.datasetName | default "" }}
hostPath: {{ .Values.paperlessStorage.pgData.hostPath | default "" }}
targetSelector:
# Postgres pod
postgres:
# Postgres container
postgres:
mountPath: /var/lib/postgresql/data
# Postgres - Permissions container
# Different than the 01-permissions
permissions:
mountPath: /mnt/directories/postgres_data
postgresbackup:
enabled: true
type: {{ .Values.paperlessStorage.pgBackup.type }}
datasetName: {{ .Values.paperlessStorage.pgBackup.datasetName | default "" }}
hostPath: {{ .Values.paperlessStorage.pgBackup.hostPath | default "" }}
targetSelector:
# Postgres backup pod
postgresbackup:
# Postgres backup container
postgresbackup:
mountPath: /postgres_backup
# Postgres - Permissions container
# Different than the 01-permissions
permissions:
mountPath: /mnt/directories/postgres_backup
{{- include "ix.v1.common.app.postgresPersistence"
(dict "pgData" .Values.paperlessStorage.pgData
"pgBackup" .Values.paperlessStorage.pgBackup
) | nindent 2 }}
{{- end -}}

View File

@@ -25,15 +25,6 @@ service:
targetPort: 6379
targetSelector: redis
postgres:
enabled: true
type: ClusterIP
targetSelector: postgres
ports:
postgres:
enabled: true
primary: true
port: 5432
targetPort: 5432
targetSelector: postgres
{{- include "ix.v1.common.app.postgresService" $ | nindent 2 }}
{{- end -}}