2021-12-12 22:27:04 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/papermerge
|
|
|
|
pullPolicy: IfNotPresent
|
2023-05-26 08:46:14 +00:00
|
|
|
tag: v2.1.9@sha256:b87fe0209a685badebab23d678ea8c9a5aba799df413c73f3c4ad40ade629574
|
2023-08-30 20:25:29 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
2021-12-12 22:27:04 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
targetPort: 8000
|
|
|
|
port: 10141
|
2023-08-30 20:25:29 +00:00
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
env:
|
|
|
|
PAPERMERGE__MAIN__TIMEZONE: "{{ .Values.TZ }}"
|
|
|
|
DJANGO_SUPERUSER_EMAIL: admin@example.com
|
|
|
|
DJANGO_SUPERUSER_USENAME: admin
|
|
|
|
DJANGO_SUPERUSER_PASSWORD: my_admin_password123
|
|
|
|
PAPERMERGE__MAIN__SECRET_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
name: papermerge-secrets
|
|
|
|
key: PAPERMERGE__MAIN__SECRET_KEY
|
|
|
|
PAPERMERGE__DATABASE__TYPE: postgres
|
|
|
|
PAPERMERGE__DATABASE__NAME: "{{ .Values.cnpg.main.database }}"
|
|
|
|
PAPERMERGE__DATABASE__USER: "{{ .Values.cnpg.main.user }}"
|
|
|
|
PAPERMERGE__DATABASE__PORT: 5432
|
|
|
|
PAPERMERGE__DATABASE__HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: host
|
|
|
|
PAPERMERGE__DATABASE__PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
|
|
|
PAPERMERGE__REDIS__PORT: 6379
|
|
|
|
PAPERMERGE__REDIS__HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
|
|
|
key: plainhost
|
|
|
|
|
2021-12-12 22:27:04 +00:00
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/config"
|
|
|
|
varrun:
|
|
|
|
enabled: true
|
2023-08-30 20:25:29 +00:00
|
|
|
|
2021-12-18 01:03:52 +00:00
|
|
|
redis:
|
|
|
|
enabled: true
|
2023-04-11 10:07:17 +00:00
|
|
|
redisUsername: papermerge
|
2023-08-30 20:25:29 +00:00
|
|
|
|
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
user: papermerge
|
|
|
|
database: papermerge
|
|
|
|
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-04-11 10:07:17 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|