* chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
80 lines
1.7 KiB
YAML
80 lines
1.7 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/paperless-ng
|
|
pullPolicy: IfNotPresent
|
|
tag: 1.8.0@sha256:32681b84675ab2b90feeffccdd2d207796ec03521390e8b8325019bf22a6ed7b
|
|
|
|
securityContext:
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
secretEnv:
|
|
PAPERLESS_ADMIN_USER: "admin"
|
|
PAPERLESS_ADMIN_PASSWORD: "admin"
|
|
PAPERLESS_ADMIN_MAIL: "admin@admin.com"
|
|
|
|
env:
|
|
PAPERLESS_PORT: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
PAPERLESS_DATA_DIR: "/data/"
|
|
PAPERLESS_CONSUMPTION_DIR: "/consume/"
|
|
PAPERLESS_MEDIA_ROOT: "/media/"
|
|
PAPERLESS_URL: ""
|
|
USERMAP_UID: "{{ .Values.security.PUID }}"
|
|
USERMAP_GID: "{{ .Values.podSecurityContext.fsGroup }}"
|
|
PAPERLESS_TIME_ZONE: "{{ .Values.TZ }}"
|
|
PAPERLESS_DBNAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
PAPERLESS_DBUSER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
PAPERLESS_DBPORT: "5432"
|
|
PAPERLESS_WEBSERVER_WORKERS: 2
|
|
PAPERLESS_DBPASS:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: postgresql-password
|
|
PAPERLESS_DBHOST:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: plainhost
|
|
PAPERLESS_SECRET_KEY:
|
|
secretKeyRef:
|
|
name: paperlessng-secrets
|
|
key: PAPERLESS_SECRET_KEY
|
|
PAPERLESS_REDIS:
|
|
secretKeyRef:
|
|
name: rediscreds
|
|
key: url
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
targetPort: 8000
|
|
port: 10140
|
|
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/data"
|
|
consume:
|
|
enabled: true
|
|
mountPath: "/consume"
|
|
media:
|
|
enabled: true
|
|
mountPath: "/media"
|
|
|
|
redis:
|
|
enabled: true
|
|
existingSecret: "rediscreds"
|
|
redisUsername: default
|
|
|
|
postgresql:
|
|
enabled: true
|
|
existingSecret: "dbcreds"
|
|
postgresqlUsername: paperless-ng
|
|
postgresqlDatabase: paperless-ng
|
|
|
|
portal:
|
|
enabled: true
|