From 3b57cd7662b83ddc24555e57eabb6feb81628d0c Mon Sep 17 00:00:00 2001 From: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Date: Fri, 14 Jul 2023 04:52:43 -0400 Subject: [PATCH] fix(projectsend) update tag to latest tag + housekeeping (#10157) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** clean up chart and values yaml and change tag to match the container repo. ⚒️ Fixes # **⚙️ 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?** **📃 Notes:** **✔️ 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._ --- charts/stable/projectsend/Chart.yaml | 29 +++++++----- charts/stable/projectsend/questions.yaml | 7 ++- charts/stable/projectsend/values.yaml | 57 +++++++++++++----------- 3 files changed, 51 insertions(+), 42 deletions(-) diff --git a/charts/stable/projectsend/Chart.yaml b/charts/stable/projectsend/Chart.yaml index aa8aebcaefe..10a0e4dae55 100644 --- a/charts/stable/projectsend/Chart.yaml +++ b/charts/stable/projectsend/Chart.yaml @@ -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" diff --git a/charts/stable/projectsend/questions.yaml b/charts/stable/projectsend/questions.yaml index 29e36a84e19..4bf8af8a059 100644 --- a/charts/stable/projectsend/questions.yaml +++ b/charts/stable/projectsend/questions.yaml @@ -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 diff --git a/charts/stable/projectsend/values.yaml b/charts/stable/projectsend/values.yaml index 6b83480fcca..1d857ca02a7 100644 --- a/charts/stable/projectsend/values.yaml +++ b/charts/stable/projectsend/values.yaml @@ -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 "> $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