diff --git a/charts/incubator/seafile/Chart.yaml b/charts/incubator/seafile/Chart.yaml index ecb493281bd..399068de44f 100644 --- a/charts/incubator/seafile/Chart.yaml +++ b/charts/incubator/seafile/Chart.yaml @@ -8,6 +8,10 @@ dependencies: name: mariadb repository: https://deps.truecharts.org/ version: 7.0.50 + - condition: memcached.enabled + name: memcached + repository: https://deps.truecharts.org/ + version: 6.0.69 deprecated: false description: Reliable and Performant File Sync and Share Solution home: https://truecharts.org/charts/incubator/seafile @@ -26,7 +30,7 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/incubator/seafile - https://seafile.com type: application -version: 0.0.1 +version: 0.0.2 annotations: truecharts.org/catagories: | - file-storage diff --git a/charts/incubator/seafile/questions.yaml b/charts/incubator/seafile/questions.yaml index cbaef545f19..4ef0a63b5d4 100644 --- a/charts/incubator/seafile/questions.yaml +++ b/charts/incubator/seafile/questions.yaml @@ -76,6 +76,14 @@ questions: additional_attrs: true type: dict attrs: +# Include{persistenceBasic} + - variable: storage + label: "App File Block Storage" + description: "Stores the File Block Storage (Not user readable unless FUSE enabled)" + schema: + additional_attrs: true + type: dict + attrs: # Include{persistenceBasic} # Include{persistenceList} # Include{ingressRoot} @@ -97,13 +105,13 @@ questions: description: "The UserID of the user running the application" schema: type: int - default: 0 + default: 568 - variable: runAsGroup label: "runAsGroup" description: "The groupID of the user running the application" schema: type: int - default: 0 + default: 568 # Include{securityContextContainer} # Include{securityContextAdvanced} # Include{securityContextPod} diff --git a/charts/incubator/seafile/values.yaml b/charts/incubator/seafile/values.yaml index b19a367991b..c365ca65760 100644 --- a/charts/incubator/seafile/values.yaml +++ b/charts/incubator/seafile/values.yaml @@ -15,8 +15,13 @@ securityContext: container: readOnlyRootFilesystem: false runAsNonRoot: false + allowPrivilegeEscalation: true runAsUser: 0 runAsGroup: 0 + capabilities: + add: + - SYS_ADMIN + - MKNOD workload: main: @@ -39,16 +44,24 @@ workload: SEAFILE_ADMIN_EMAIL: me@example.com SEAFILE_ADMIN_PASSWORD: a_very_secret_password FORCE_HTTPS_IN_CONF: false + NON_ROOT: true persistence: config: enabled: true mountPath: "/shared/seafile" + storage: + enabled: true + mountPath: "/shared/seafile/storage" mariadb: enabled: true mariadbUsername: seafile mariadbDatabase: seafile + +memcached: + enabled: true + portal: open: enabled: true