fix(paperless-ng): app needs r/w access to rootfs (#1549)

* fix(paperless-ng): app needs r/w access to rootfs

* bump patch

* chore(tdarr): simplify hostPath GUI
This commit is contained in:
Stavros Kois 2021-12-17 15:55:06 +02:00 committed by GitHub
parent 758e45a30e
commit 9d19dd0d64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 86 additions and 71 deletions

View File

@ -22,7 +22,7 @@ sources:
- https://github.com/HaveAGitGat/Tdarr - https://github.com/HaveAGitGat/Tdarr
- https://hub.docker.com/r/haveagitgat/tdarr_node - https://hub.docker.com/r/haveagitgat/tdarr_node
type: application type: application
version: 1.0.25 version: 1.0.26
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media

View File

@ -333,17 +333,22 @@ questions:
schema: schema:
type: boolean type: boolean
default: true default: true
hidden: true
- variable: type - variable: type
label: "(Advanced) Type of Storage" label: "Type of Storage"
description: "Sets the persistence type" description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema: schema:
type: string type: string
default: "hostPath" default: "simpleHP"
enum: enum:
- value: "pvc" - value: "simplePVC"
description: "pvc" description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir" - value: "emptyDir"
description: "emptyDir" description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath" - value: "hostPath"
description: "hostPath" description: "hostPath"
# Include{persistenceBasic} # Include{persistenceBasic}

View File

@ -22,7 +22,7 @@ sources:
- https://github.com/HaveAGitGat/Tdarr - https://github.com/HaveAGitGat/Tdarr
- https://hub.docker.com/r/haveagitgat/tdarr - https://hub.docker.com/r/haveagitgat/tdarr
type: application type: application
version: 1.0.25 version: 1.0.26
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media

View File

@ -445,76 +445,25 @@ questions:
schema: schema:
type: boolean type: boolean
default: true default: true
hidden: true
- variable: type - variable: type
label: "(Advanced) Type of Storage" label: "Type of Storage"
description: "Sets the persistence type" description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema: schema:
type: string type: string
default: "hostPath" default: "simpleHP"
enum: enum:
- value: "pvc" - value: "simplePVC"
description: "pvc" description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir" - value: "emptyDir"
description: "emptyDir" description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath" - value: "hostPath"
description: "hostPath" description: "hostPath"
- variable: storageClass # Include{persistenceBasic}
label: "(Advanced) storageClass"
description: " Warning: Anything other than SCALE-ZFS will break rollback!"
schema:
show_if: [["type", "=", "pvc"]]
type: string
default: "SCALE-ZFS"
- variable: labelsList
label: "Labels"
schema:
type: list
default: []
items:
- variable: labelItem
label: "Label"
schema:
type: dict
attrs:
- variable: name
label: "Name"
schema:
type: string
- variable: value
label: "Value"
schema:
type: string
- variable: annotationsList
label: "Annotations"
schema:
type: list
default: []
items:
- variable: annotationItem
label: "Label"
schema:
type: dict
attrs:
- variable: name
label: "Name"
schema:
type: string
- variable: value
label: "Value"
schema:
type: string
- variable: setPermissions
label: "Automatic Permissions"
description: "Automatically set permissions on install"
schema:
show_if: [["type", "=", "hostPath"]]
type: boolean
default: true
- variable: readOnly
label: "readOnly"
schema:
type: boolean
default: false
- variable: hostPath - variable: hostPath
label: "hostPath" label: "hostPath"
description: "Path inside the container the storage is mounted" description: "Path inside the container the storage is mounted"
@ -542,6 +491,7 @@ questions:
- value: "Memory" - value: "Memory"
description: "Memory" description: "Memory"
# Include{persistenceAdvanced} # Include{persistenceAdvanced}
# Include{persistenceList} # Include{persistenceList}
- variable: ingress - variable: ingress

View File

@ -1,7 +1,7 @@
apiVersion: v2 apiVersion: v2
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
name: paperless-ng name: paperless-ng
version: 0.0.3 version: 0.0.4
appVersion: "1.5.0" appVersion: "1.5.0"
description: Paperless-ng is an application by Daniel Quinn and contributors that indexes your scanned documents. description: Paperless-ng is an application by Daniel Quinn and contributors that indexes your scanned documents.
type: application type: application

View File

@ -231,6 +231,62 @@ questions:
description: "Default" description: "Default"
- value: "Memory" - value: "Memory"
description: "Memory" description: "Memory"
# Include{persistenceAdvanced}
- variable: data
label: "App Data Storage"
description: "Stores the Data."
schema:
type: dict
attrs:
- variable: enabled
label: "Enable the storage"
schema:
type: boolean
default: true
hidden: true
- variable: type
label: "Type of Storage"
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simpleHP"
enum:
- value: "simplePVC"
description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir"
description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath"
description: "hostPath"
# Include{persistenceBasic}
- variable: hostPath
label: "hostPath"
description: "Path inside the container the storage is mounted"
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: mountPath
label: "mountPath"
description: "Path inside the container the storage is mounted"
schema:
type: string
default: "/data"
hidden: true
valid_chars: '^\/([a-zA-Z0-9._-]+(\s?[a-zA-Z0-9._-]+|\/?))+$'
- variable: medium
label: "EmptyDir Medium"
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
# Include{persistenceAdvanced} # Include{persistenceAdvanced}
# Include{persistenceList} # Include{persistenceList}
@ -277,7 +333,7 @@ questions:
label: "ReadOnly Root Filesystem" label: "ReadOnly Root Filesystem"
schema: schema:
type: boolean type: boolean
default: true default: false
- variable: allowPrivilegeEscalation - variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation" label: "Allow Privilege Escalation"
schema: schema:

View File

@ -5,6 +5,7 @@ image:
securityContext: securityContext:
runAsNonRoot: false runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext: podSecurityContext:
runAsUser: 0 runAsUser: 0
@ -24,5 +25,8 @@ persistence:
config: config:
enabled: true enabled: true
mountPath: "/config" mountPath: "/config"
data:
enabled: true
mountPath: "/data"
varrun: varrun:
enabled: true enabled: true