fix(projectsend) update tag to latest tag + housekeeping (#10157)

**Description**
clean up chart and values yaml and change tag to match the container
repo.
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [X] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [X] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [X] ⚖️ My code follows the style guidelines of this project
- [X] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [X] ⬆️ I increased versions for any altered app according to semantic
versioning

**➕ App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Xstar97TheNoob
2023-07-14 10:52:43 +02:00
committed by GitHub
parent d349af1a67
commit 3b57cd7662
3 changed files with 51 additions and 42 deletions
+17 -12
View File
@@ -1,15 +1,5 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: projectsend
version: 7.0.25
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
deprecated: false
home: https://truecharts.org/charts/stable/projectsend
icon: https://truecharts.org/img/hotlink-ok/chart-icons/projectsend.png
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/projectsend
appVersion: "latest"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
@@ -18,11 +8,26 @@ dependencies:
name: mariadb
repository: https://deps.truecharts.org/
version: 7.0.62
deprecated: false
description: ProjectSend is a self-hosted application that lets you upload files and assign them to specific clients that you create yourself.
home: https://truecharts.org/charts/stable/projectsend
icon: https://truecharts.org/img/hotlink-ok/chart-icons/projectsend.png
keywords:
- projectsend
- files
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: projectsend
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/projectsend
- https://github.com/projectsend/projectsend
- https://ghcr.io/linuxserver/projectsend
type: application
version: 7.1.0
annotations:
truecharts.org/catagories: |
- incubator
- files
truecharts.org/SCALE-support: "true"
+3 -4
View File
@@ -20,22 +20,21 @@ questions:
type: dict
attrs:
- variable: MAX_UPLOAD
label: "MAX_UPLOAD"
label: "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"
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"
label: "PHP Memory Limit"
schema:
type: string
required: true
+31 -26
View File
@@ -1,37 +1,22 @@
image:
repository: tccr.io/truecharts/projectsend
pullPolicy: IfNotPresent
tag: v2021.12.10@sha256:16e02fcc07f7f1eca067e5213e81aa2b6c9af3aa994bfac7f2cb9f3c413a905e
service:
main:
ports:
main:
targetPort: 80
port: 10127
persistence:
config:
enabled: true
mountPath: "/config"
targetSelectAll: true
data:
enabled: true
mountPath: "/data"
varrun:
enabled: true
mariadb:
enabled: true
mariadbUsername: projectsend
mariadbDatabase: projectsend
tag: vlatest@sha256:adb9e45005bb875b3a5efb2cc041deb3e29d4897fad064bccdab05b5699be638
portal:
open:
enabled: true
securityContext:
container:
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
main:
targetPort: 80
port: 10127
workload:
main:
podSpec:
@@ -58,11 +43,11 @@ workload:
- -c
args:
- |-
export configFile="/config/projectsend/sys.config.php";
export configFile="/config/includes/sys.config.php";
if [ ! -f $configFile ];
then
echo "Creating initial config file...";
mkdir -p /config/projectsend;
mkdir -p /config/includes;
touch $configFile;
echo "<?php" >> $configFile;
echo "# This is generated on initial setup of this TrueCharts App" >> $configFile;
@@ -89,3 +74,23 @@ workload:
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