secrets for paperless

This commit is contained in:
2024-04-02 22:24:11 +02:00
parent 6747661978
commit a457478cd3
2 changed files with 9 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: ftp-secret
name: paperless-secret
namespace: paperless
annotations:
sealedsecrets.bitnami.com/namespace-wide: "true"
@@ -9,3 +9,6 @@ type: Opaque
data:
FTP_USER: <user>
FTP_PASS: <pass>
POSTGRES_USER: <user>
POSTGRES_PASSWORD: <pass>
PAPERLESS_SECRET_KEY: <pass>

View File

@@ -44,6 +44,11 @@ spec:
value: Europe/Berlin
- name: PAPERLESS_URL
value: https://documents.steffenillium.de
- name: PAPERLESS_SECRET_KEY
valueFrom:
secretKeyRef:
name: paperless-secret
key: PAPERLESS_SECRET_KEY
image: ghcr.io/paperless-ngx/paperless-ngx:latest
livenessProbe:
exec: