Commit new App releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-07-09 08:35:05 +00:00
parent 1aae517a03
commit 0546056bf6
14 changed files with 202 additions and 888 deletions

View File

@ -1,6 +1,15 @@
# Changelog<br> # Changelog<br>
<a name="projectsend-3.0.10"></a>
### [projectsend-3.0.10](https://github.com/truecharts/apps/compare/projectsend-3.0.9...projectsend-3.0.10) (2022-07-09)
#### Chore
* some UI fixes ([#3103](https://github.com/truecharts/apps/issues/3103))
<a name="projectsend-3.0.9"></a> <a name="projectsend-3.0.9"></a>
### [projectsend-3.0.9](https://github.com/truecharts/apps/compare/projectsend-3.0.8...projectsend-3.0.9) (2022-07-05) ### [projectsend-3.0.9](https://github.com/truecharts/apps/compare/projectsend-3.0.8...projectsend-3.0.9) (2022-07-05)
@ -88,12 +97,3 @@
#### Chore #### Chore
* update helm general major helm releases ([#2804](https://github.com/truecharts/apps/issues/2804)) * update helm general major helm releases ([#2804](https://github.com/truecharts/apps/issues/2804))
#### Fix
* hotpatch to disable HPA and networkPolicy in SCALE interface, due to incompatible format.
<a name="projectsend-2.0.1"></a>
### [projectsend-2.0.1](https://github.com/truecharts/apps/compare/projectsend-1.0.23...projectsend-2.0.1) (2022-06-07)

View File

@ -6,4 +6,4 @@ dependencies:
repository: https://charts.truecharts.org/ repository: https://charts.truecharts.org/
version: 3.0.22 version: 3.0.22
digest: sha256:4a324c68224f0066f4783104107c53f3b1fc4190f709f7713418b4a1c9fe4335 digest: sha256:4a324c68224f0066f4783104107c53f3b1fc4190f709f7713418b4a1c9fe4335
generated: "2022-07-05T20:41:33.400362821Z" generated: "2022-07-09T08:32:03.302717752Z"

View File

@ -1,7 +1,7 @@
apiVersion: v2 apiVersion: v2
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
name: projectsend name: projectsend
version: 3.0.9 version: 3.0.10
appVersion: "2021.12.10" appVersion: "2021.12.10"
description: Projectsend is a self-hosted application that lets you upload files and assign them to specific clients that you create yourself. description: Projectsend is a self-hosted application that lets you upload files and assign them to specific clients that you create yourself.
type: application type: application

View File

@ -39,7 +39,6 @@ mariadb:
mariadbDatabase: projectsend mariadbDatabase: projectsend
existingSecret: "mariadbcreds" existingSecret: "mariadbcreds"
installContainers: installContainers:
initconfig: initconfig:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
@ -63,25 +62,25 @@ installContainers:
mountPath: "/config" mountPath: "/config"
command: ["/bin/sh", "-c"] command: ["/bin/sh", "-c"]
args: args:
- > - |-
export configFile="/config/projectsend/sys.config.php"; export configFile="/config/projectsend/sys.config.php";
if [ ! -f $configFile ]; if [ ! -f $configFile ];
then then
echo "Creating initial config file..."; echo "Creating initial config file...";
mkdir -p /config/projectsend mkdir -p /config/projectsend;
touch $configFile; touch $configFile;
echo "<?php" >> $configFile echo "<?php" >> $configFile;
echo "# This is generated on initial setup of this TrueCharts App" >> $configFile; echo "# This is generated on initial setup of this TrueCharts App" >> $configFile;
echo "# Do not change below values, or DB connection will fail." >> $configFile echo "# Do not change below values, or DB connection will fail." >> $configFile;
echo "define('DB_DRIVER', 'mysql');" >> $configFile; echo "define('DB_DRIVER', 'mysql');" >> $configFile;
echo "define('DB_NAME', '$DBNAME');" >> $configFile; echo "define('DB_NAME', '$DBNAME');" >> $configFile;
echo "define('DB_HOST', '$DBHOST');" >> $configFile; echo "define('DB_HOST', '$DBHOST');" >> $configFile;
echo "define('DB_USER', '$DBUSER');" >> $configFile; echo "define('DB_USER', '$DBUSER');" >> $configFile;
echo "define('DB_PASSWORD', '$DBPASS');" >> $configFile; echo "define('DB_PASSWORD', '$DBPASS');" >> $configFile;
echo "define('MAX_FILESIZE', $MAX_UPLOAD);" >> $configFile;
echo "define('TABLES_PREFIX', 'tbl_');" >> $configFile; echo "define('TABLES_PREFIX', 'tbl_');" >> $configFile;
echo "# You can manually change below values if you like." >> $configFile echo "# You can manually change below values if you like." >> $configFile;
echo "define('SITE_LANG', 'en');" >> $configFile; echo "define('SITE_LANG', 'en');" >> $configFile;
echo "define('MAX_FILESIZE',2048);" >> $configFile;
echo "define('EMAIL_ENCODING', 'utf-8');" >> $configFile; echo "define('EMAIL_ENCODING', 'utf-8');" >> $configFile;
echo "define('DEBUG', false);" >> $configFile; echo "define('DEBUG', false);" >> $configFile;
echo "# End of generated config values." >> $configFile; echo "# End of generated config values." >> $configFile;

View File

@ -179,11 +179,18 @@ questions:
attrs: attrs:
- variable: MAX_UPLOAD - variable: MAX_UPLOAD
label: "MAX_UPLOAD" label: "MAX_UPLOAD"
description: "MAX_UPLOAD" description: "Maximum size (in mb.) that is allowed on each file to be uploaded."
schema: schema:
type: int type: int
required: true required: true
default: 5000 default: 5000
- variable: PHP_MAX_FILE_UPLOAD
label: "PHP_MAX_FILE_UPLOAD"
description: "The maximum number of files allowed to be uploaded simultaneously. "
schema:
type: int
required: true
default: 200
- variable: PHP_MEMORY_LIMIT - variable: PHP_MEMORY_LIMIT
label: "PHP_MEMORY_LIMIT" label: "PHP_MEMORY_LIMIT"
description: "PHP_MEMORY_LIMIT" description: "PHP_MEMORY_LIMIT"
@ -191,13 +198,6 @@ questions:
type: string type: string
required: true required: true
default: "512M" default: "512M"
- variable: PHP_MAX_FILE_UPLOAD
label: "PHP_MAX_FILE_UPLOAD"
description: "PHP_MAX_FILE_UPLOAD"
schema:
type: int
required: true
default: 200
- variable: TZ - variable: TZ
label: "Timezone" label: "Timezone"
group: "Container Configuration" group: "Container Configuration"
@ -902,6 +902,183 @@ questions:
label: "Value" label: "Value"
schema: schema:
type: string type: string
- variable: data
label: "App Data Storage"
description: "Stores the Application Data."
schema:
additional_attrs: true
type: dict
attrs:
- variable: type
label: "Type of Storage"
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simplePVC"
enum:
- value: "simplePVC"
description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir"
description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath"
description: "hostPath"
- value: "nfs"
description: "NFS Share"
- variable: server
label: "NFS server"
schema:
show_if: [["type", "=", "nfs"]]
type: string
default: ""
- variable: path
label: "Path on NFS server"
schema:
show_if: [["type", "=", "nfs"]]
type: string
default: ""
- variable: setPermissionsSimple
label: "Automatic Permissions"
description: "Automatically set permissions on install"
schema:
show_if: [["type", "=", "simpleHP"]]
type: boolean
default: true
- 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: hostPathSimple
label: "hostPath"
description: "Path inside the container the storage is mounted"
schema:
show_if: [["type", "=", "simpleHP"]]
type: hostpath
- variable: hostPath
label: "hostPath"
description: "Path inside the container the storage is mounted"
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: medium
label: "EmptyDir Medium"
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
- variable: size
label: "Size quotum of storage"
schema:
show_if: [["type", "=", "pvc"]]
type: string
default: "999Gi"
- variable: hostPathType
label: "(Advanced) hostPath Type"
schema:
show_if: [["type", "=", "hostPath"]]
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "DirectoryOrCreate"
description: "DirectoryOrCreate"
- value: "Directory"
description: "Directory"
- value: "FileOrCreate"
description: "FileOrCreate"
- value: "File"
description: "File"
- value: "Socket"
description: "Socket"
- value: "CharDevice"
description: "CharDevice"
- value: "BlockDevice"
description: "BlockDevice"
- variable: storageClass
label: "(Advanced) storageClass"
description: "Warning: Anything other than SCALE-ZFS or empty will break rollback!"
schema:
show_if: [["type", "=", "pvc"]]
type: string
default: "SCALE-ZFS"
- variable: accessMode
label: "(Advanced) Access Mode"
description: "Allow or disallow multiple PVC's writhing to the same PV"
schema:
show_if: [["type", "=", "pvc"]]
type: string
default: "ReadWriteOnce"
enum:
- value: "ReadWriteOnce"
description: "ReadWriteOnce"
- value: "ReadOnlyMany"
description: "ReadOnlyMany"
- value: "ReadWriteMany"
description: "ReadWriteMany"
- variable: advanced
label: "Show Advanced Options"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: labelsList
label: "Labels"
schema:
type: list
default: []
items:
- variable: labelItem
label: "Label"
schema:
additional_attrs: true
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:
additional_attrs: true
type: dict
attrs:
- variable: name
label: "Name"
schema:
type: string
- variable: value
label: "Value"
schema:
type: string
- variable: persistenceList - variable: persistenceList
label: "Additional app storage" label: "Additional app storage"
group: "Storage and Persistence" group: "Storage and Persistence"

View File

@ -1,7 +0,0 @@
# Configuration Options
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our [Linking Apps Internally](https://truecharts.org/manual/Quick-Start%20Guides/06-linking-apps/) quick-start guide.
##### Available config options
In the future this page is going to contain an automated list of options available in the installation/edit UI.

View File

@ -1,52 +0,0 @@
# Default Helm-Values
TrueCharts is primarily build to supply TrueNAS SCALE Apps.
However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
Most of our Apps also consume our "common" Helm Chart.
If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env.MAX_UPLOAD | int | `5000` | |
| env.PHP_MAX_FILE_UPLOAD | int | `200` | |
| env.PHP_MEMORY_LIMIT | string | `"512M"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"tccr.io/truecharts/projectsend"` | |
| image.tag | string | `"v2021.12.10"` | |
| installContainers.initconfig.args[0] | string | `"export configFile=\"/config/projectsend/sys.config.php\"; if [ ! -f $configFile ]; then\n echo \"Creating initial config file...\";\n mkdir -p /config/projectsend\n touch $configFile;\n echo \"<?php\" >> $configFile\n echo \"# This is generated on initial setup of this TrueCharts App\" >> $configFile;\n echo \"# Do not change below values, or DB connection will fail.\" >> $configFile\n echo \"define('DB_DRIVER', 'mysql');\" >> $configFile;\n echo \"define('DB_NAME', '$DBNAME');\" >> $configFile;\n echo \"define('DB_HOST', '$DBHOST');\" >> $configFile;\n echo \"define('DB_USER', '$DBUSER');\" >> $configFile;\n echo \"define('DB_PASSWORD', '$DBPASS');\" >> $configFile;\n echo \"define('TABLES_PREFIX', 'tbl_');\" >> $configFile;\n echo \"# You can manually change below values if you like.\" >> $configFile\n echo \"define('SITE_LANG', 'en');\" >> $configFile;\n echo \"define('MAX_FILESIZE',2048);\" >> $configFile;\n echo \"define('EMAIL_ENCODING', 'utf-8');\" >> $configFile;\n echo \"define('DEBUG', false);\" >> $configFile;\n echo \"# End of generated config values.\" >> $configFile;\n echo \"Done!\";\nelse\n echo \"Initial config file already exists. Skipping...\";\nfi;\n"` | |
| installContainers.initconfig.command[0] | string | `"/bin/sh"` | |
| installContainers.initconfig.command[1] | string | `"-c"` | |
| installContainers.initconfig.env[0].name | string | `"DBNAME"` | |
| installContainers.initconfig.env[0].value | string | `"{{ .Values.mariadb.mariadbDatabase }}"` | |
| installContainers.initconfig.env[1].name | string | `"DBUSER"` | |
| installContainers.initconfig.env[1].value | string | `"{{ .Values.mariadb.mariadbUsername }}"` | |
| installContainers.initconfig.env[2].name | string | `"DBPASS"` | |
| installContainers.initconfig.env[2].valueFrom.secretKeyRef.key | string | `"mariadb-password"` | |
| installContainers.initconfig.env[2].valueFrom.secretKeyRef.name | string | `"mariadbcreds"` | |
| installContainers.initconfig.env[3].name | string | `"DBHOST"` | |
| installContainers.initconfig.env[3].valueFrom.secretKeyRef.key | string | `"plainhost"` | |
| installContainers.initconfig.env[3].valueFrom.secretKeyRef.name | string | `"mariadbcreds"` | |
| installContainers.initconfig.image | string | `"{{ .Values.image.repository }}:{{ .Values.image.tag }}"` | |
| installContainers.initconfig.volumeMounts[0].mountPath | string | `"/config"` | |
| installContainers.initconfig.volumeMounts[0].name | string | `"config"` | |
| mariadb.enabled | bool | `true` | |
| mariadb.existingSecret | string | `"mariadbcreds"` | |
| mariadb.mariadbDatabase | string | `"projectsend"` | |
| mariadb.mariadbUsername | string | `"projectsend"` | |
| persistence.config.enabled | bool | `true` | |
| persistence.config.mountPath | string | `"/config"` | |
| persistence.data.enabled | bool | `true` | |
| persistence.data.mountPath | string | `"/data"` | |
| persistence.varrun.enabled | bool | `true` | |
| podSecurityContext.runAsGroup | int | `0` | |
| podSecurityContext.runAsUser | int | `0` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| securityContext.runAsNonRoot | bool | `false` | |
| service.main.ports.main.port | int | `10127` | |
| service.main.ports.main.targetPort | int | `80` | |
All Rights Reserved - The TrueCharts Project

File diff suppressed because one or more lines are too long