TrueChartsClone/charts/stable/paperless-ngx/values.yaml

78 lines
2.1 KiB
YAML
Raw Normal View History

feat(stable): BREAKING CHANGE migrate to new common part 1 (#7900) **Description** Part 1 of the migration to new common on the stable train. This basically breaks most/all charts requiring a reinstall on SCALE as well. Helm users shouldn't need a reinstall but could migrate their values.yaml modification manually besides backing-up and porting the databases. There be Dragons basically, as we obviously cannot 100% go over each-and-every single app in the stable train like we did in the enterprise train. **⚙️ Type of change** - [x] ⚙️ Feature/App addition - [x] 🪛 Bugfix - [x] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [x] 🔃 Refactor of current code **🧪 How Has This Been Tested?** Via CI and manually validation in a lot of cases where the CI did not correctly check things. Additional catalog item creation tooling for local testing has been added as well. **📃 Notes:** There will be issues in the future but we should get as much working well as we can. **✔️ Checklist:** - [x] ⚖️ My code follows the style guidelines of this project - [x] 👀 I have performed a self-review of my own code - [x] #️⃣ I have commented my code, particularly in hard-to-understand areas - [x] 📄 I have made corresponding changes to the documentation - [x] ⚠️ My changes generate no new warnings - [x] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [x] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._
2023-04-11 06:07:17 -04:00
image:
repository: tccr.io/truecharts/paperless-ng
pullPolicy: IfNotPresent
tag: 1.13.0@sha256:f8836b6d50f6dad48fc4692ede49c56275677f3d387be76e560e285123e0b8e1
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
redisUsername: default
cnpg:
main:
enabled: true
user: paperless-ng
database: paperless-ng
portal:
open:
enabled: true
securityContext:
container:
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
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.securityContext.container.PUID }}"
USERMAP_GID: "{{ .Values.securityContext.pod.fsGroup }}"
PAPERLESS_TIME_ZONE: "{{ .Values.TZ }}"
PAPERLESS_DBNAME: "{{ .Values.cnpg.main.database }}"
PAPERLESS_DBUSER: "{{ .Values.cnpg.main.user }}"
PAPERLESS_DBPORT: "5432"
PAPERLESS_WEBSERVER_WORKERS: 2
PAPERLESS_DBPASS:
secretKeyRef:
name: cnpg-main-user
key: password
PAPERLESS_DBHOST:
secretKeyRef:
name: cnpg-main-urls
key: host
PAPERLESS_SECRET_KEY:
secretKeyRef:
name: secrets
key: PAPERLESS_SECRET_KEY
PAPERLESS_REDIS:
secretKeyRef:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
key: url
PAPERLESS_ADMIN_USER: "admin"
PAPERLESS_ADMIN_PASSWORD: "admin"
PAPERLESS_ADMIN_MAIL: "admin@admin.com"