chore(projectsend): some UI fixes (#3103)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v2
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
name: projectsend
|
||||
version: 3.0.9
|
||||
version: 3.0.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.
|
||||
type: application
|
||||
|
||||
@@ -85,11 +85,18 @@ questions:
|
||||
attrs:
|
||||
- variable: MAX_UPLOAD
|
||||
label: "MAX_UPLOAD"
|
||||
description: "MAX_UPLOAD"
|
||||
description: "Maximum size (in mb.) that is allowed on each file to be uploaded."
|
||||
schema:
|
||||
type: int
|
||||
required: true
|
||||
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
|
||||
label: "PHP_MEMORY_LIMIT"
|
||||
description: "PHP_MEMORY_LIMIT"
|
||||
@@ -97,13 +104,6 @@ questions:
|
||||
type: string
|
||||
required: true
|
||||
default: "512M"
|
||||
- variable: PHP_MAX_FILE_UPLOAD
|
||||
label: "PHP_MAX_FILE_UPLOAD"
|
||||
description: "PHP_MAX_FILE_UPLOAD"
|
||||
schema:
|
||||
type: int
|
||||
required: true
|
||||
default: 200
|
||||
# Include{containerConfig}
|
||||
|
||||
- variable: service
|
||||
@@ -209,6 +209,15 @@ questions:
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{persistenceBasic}
|
||||
# Include{persistenceAdvanced}
|
||||
- variable: data
|
||||
label: "App Data Storage"
|
||||
description: "Stores the Application Data."
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{persistenceBasic}
|
||||
# Include{persistenceAdvanced}
|
||||
# Include{persistenceList}
|
||||
|
||||
|
||||
@@ -39,7 +39,6 @@ mariadb:
|
||||
mariadbDatabase: projectsend
|
||||
existingSecret: "mariadbcreds"
|
||||
|
||||
|
||||
installContainers:
|
||||
initconfig:
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
@@ -63,25 +62,25 @@ installContainers:
|
||||
mountPath: "/config"
|
||||
command: ["/bin/sh", "-c"]
|
||||
args:
|
||||
- >
|
||||
- |-
|
||||
export configFile="/config/projectsend/sys.config.php";
|
||||
if [ ! -f $configFile ];
|
||||
then
|
||||
echo "Creating initial config file...";
|
||||
mkdir -p /config/projectsend
|
||||
mkdir -p /config/projectsend;
|
||||
touch $configFile;
|
||||
echo "<?php" >> $configFile
|
||||
echo "<?php" >> $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_NAME', '$DBNAME');" >> $configFile;
|
||||
echo "define('DB_HOST', '$DBHOST');" >> $configFile;
|
||||
echo "define('DB_USER', '$DBUSER');" >> $configFile;
|
||||
echo "define('DB_PASSWORD', '$DBPASS');" >> $configFile;
|
||||
echo "define('MAX_FILESIZE', $MAX_UPLOAD);" >> $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('MAX_FILESIZE',2048);" >> $configFile;
|
||||
echo "define('EMAIL_ENCODING', 'utf-8');" >> $configFile;
|
||||
echo "define('DEBUG', false);" >> $configFile;
|
||||
echo "# End of generated config values." >> $configFile;
|
||||
|
||||
Reference in New Issue
Block a user