Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2023-10-01 19:39:48 +00:00
parent 044eda1e39
commit 98b3bb574e
16 changed files with 103 additions and 112 deletions

View File

@ -1,9 +0,0 @@
## [projectsend-8.0.10](https://github.com/truecharts/charts/compare/projectsend-8.0.9...projectsend-8.0.10) (2023-09-25)
### Chore
- update container image tccr.io/truecharts/projectsend to vlatest ([#12949](https://github.com/truecharts/charts/issues/12949))

View File

@ -1,96 +0,0 @@
image:
repository: tccr.io/truecharts/projectsend
pullPolicy: IfNotPresent
tag: vlatest@sha256:1b1cc8e0388d111d113842ea02f1cb76c2c77e223e2054a640aa58871a5e0098
securityContext:
container:
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
main:
targetPort: 80
port: 10127
workload:
main:
podSpec:
initContainers:
initconfig:
type: install
enabled: true
imageSelector: image
env:
DBNAME: "{{ .Values.mariadb.mariadbDatabase }}"
DBUSER: "{{ .Values.mariadb.mariadbUsername }}"
DBPASS:
secretKeyRef:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
key: mariadb-password
DBHOST:
secretKeyRef:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
key: plainhost
command:
- /bin/sh
- -c
args:
- |-
export configFile="/app/www/public/includes/sys.config.php";
if [ ! -f $configFile ];
then
echo "Creating initial config file...";
mkdir -p /config/projectsend;
touch $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 "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 "define('SITE_LANG', 'en');" >> $configFile;
echo "define('EMAIL_ENCODING', 'utf-8');" >> $configFile;
echo "define('DEBUG', false);" >> $configFile;
echo "# End of generated config values." >> $configFile;
echo "Done!";
else
echo "Initial config file already exists. Skipping...";
fi;
containers:
main:
env:
MAX_UPLOAD: 5000
PHP_MEMORY_LIMIT: "512M"
PHP_MAX_FILE_UPLOAD: 200
persistence:
config:
enabled: true
mountPath: "/config"
targetSelectAll: true
data:
enabled: true
mountPath: "/data"
varrun:
enabled: true
mariadb:
enabled: true
mariadbUsername: projectsend
mariadbDatabase: projectsend
portal:
open:
enabled: true

View File

@ -1 +0,0 @@
{{ include "tc.v1.common.loader.all" . }}

View File

@ -4,6 +4,11 @@
## [projectsend-8.0.11](https://github.com/truecharts/charts/compare/projectsend-8.0.10...projectsend-8.0.11) (2023-10-01)
## [projectsend-8.0.10](https://github.com/truecharts/charts/compare/projectsend-8.0.9...projectsend-8.0.10) (2023-09-25)
### Chore
@ -92,8 +97,3 @@
## [projectsend-7.1.4](https://github.com/truecharts/charts/compare/projectsend-7.1.3...projectsend-7.1.4) (2023-07-29)
### Chore
- update helm general non-major ([#10955](https://github.com/truecharts/charts/issues/10955))

View File

@ -25,7 +25,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/projectsend
- https://github.com/projectsend/projectsend
type: application
version: 8.0.10
version: 8.0.11
annotations:
truecharts.org/catagories: |
- files

View File

@ -0,0 +1,4 @@
## [projectsend-8.0.11](https://github.com/truecharts/charts/compare/projectsend-8.0.10...projectsend-8.0.11) (2023-10-01)

View File

@ -0,0 +1,54 @@
image:
repository: tccr.io/truecharts/projectsend
pullPolicy: IfNotPresent
tag: vlatest@sha256:1b1cc8e0388d111d113842ea02f1cb76c2c77e223e2054a640aa58871a5e0098
securityContext:
container:
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
main:
targetPort: 80
port: 10127
workload:
main:
podSpec:
containers:
main:
env:
MAX_UPLOAD: 5000
PHP_MEMORY_LIMIT: "512M"
PHP_MAX_FILE_UPLOAD: 200
persistence:
config:
enabled: true
mountPath: "/config"
projectsend-config:
enabled: true
type: configmap
objectName: projectsend-config
mountPath: /config/projectsend/sys.config.php
subPath: sys.config.php
readOnly: true
data:
enabled: true
mountPath: "/data"
varrun:
enabled: true
mariadb:
enabled: true
mariadbUsername: projectsend
mariadbDatabase: projectsend
portal:
open:
enabled: true

View File

@ -0,0 +1,28 @@
{{/* Define the configmap */}}
{{- define "projectsend.configmaps" -}}
{{- $fullname := (include "tc.v1.common.lib.chart.names.fullname" $) -}}
{{- $db := .Values.mariadb.mariadbDatabase -}}
{{- $dbuser := .Values.mariadb.mariadbUsername -}}
{{- $dbpassword := .Values.mariadb.creds.mariadbPassword | trimAll "\"" -}}
{{- $dbhost := .Values.mariadb.creds.plainhost | trimAll "\"" -}}
projectsend-config:
enabled: true
data:
sys.config.php: |
<?php
define('DB_DRIVER', 'mysql');
define('DB_NAME', "{{ $db }}");
define('DB_HOST', "{{ $dbhost }}");
define('DB_USER', "{{ $dbuser }}");
define('DB_PASSWORD', "{{ $dbpassword }}");
define('TABLES_PREFIX', 'tbl_');
define('SITE_LANG','en');
define('MAX_FILESIZE',2048);
define('EMAIL_ENCODING', 'utf-8');
define('DEBUG', false);
{{- end -}}

View File

@ -0,0 +1,11 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . -}}
{{/* Render configmaps for all pods */}}
{{- $configmaps := include "projectsend.configmaps" . | fromYaml -}}
{{- if $configmaps -}}
{{- $_ := mustMergeOverwrite .Values.configmap $configmaps -}}
{{- end -}}
{{/* Render the templates */}}
{{- include "tc.v1.common.loader.apply" . -}}