From 449bc953dd77c7c3ceaf9acd5c328d090b25559b Mon Sep 17 00:00:00 2001 From: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Date: Tue, 25 Jul 2023 21:44:06 -0400 Subject: [PATCH] migrate(seedsync): Update to new common (#10849) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Someone said it works so might as well update it to new common ⚒️ Fixes # **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 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 - [ ] ⬆️ 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._ --------- Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Co-authored-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> --- charts/incubator/seedsync/Chart.yaml | 4 +-- charts/incubator/seedsync/templates/NOTES.txt | 1 + .../incubator/seedsync/templates/common.yaml | 2 +- charts/incubator/seedsync/values.yaml | 31 ++++++++++--------- 4 files changed, 20 insertions(+), 18 deletions(-) create mode 100644 charts/incubator/seedsync/templates/NOTES.txt diff --git a/charts/incubator/seedsync/Chart.yaml b/charts/incubator/seedsync/Chart.yaml index a2f670c9c40..ccbd7e42bce 100644 --- a/charts/incubator/seedsync/Chart.yaml +++ b/charts/incubator/seedsync/Chart.yaml @@ -7,7 +7,7 @@ appVersion: "latest" dependencies: - name: common repository: https://library-charts.truecharts.org - version: 11.1.2 + version: 13.2.1 deprecated: false description: SeedSync is a tool to sync the files on a remote Linux server (like your seedbox, for example). It uses LFTP to transfer files fast! home: https://truecharts.org/charts/incubator/seedsync @@ -25,4 +25,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/incubator/seedsync - https://github.com/ipsingh06/seedsync type: application -version: 2.0.9 +version: 3.0.0 diff --git a/charts/incubator/seedsync/templates/NOTES.txt b/charts/incubator/seedsync/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/seedsync/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/seedsync/templates/common.yaml b/charts/incubator/seedsync/templates/common.yaml index cbf66c20818..78d963fb168 100644 --- a/charts/incubator/seedsync/templates/common.yaml +++ b/charts/incubator/seedsync/templates/common.yaml @@ -1,2 +1,2 @@ {{/* Render the templates */}} -{{ include "tc.common.loader.all" . }} +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/seedsync/values.yaml b/charts/incubator/seedsync/values.yaml index b75c2325f77..f3f03570111 100644 --- a/charts/incubator/seedsync/values.yaml +++ b/charts/incubator/seedsync/values.yaml @@ -1,8 +1,21 @@ -env: {} image: pullPolicy: IfNotPresent repository: tccr.io/truecharts/seedsync tag: latest@sha256:e8e69dcebd7cd9b15af6484736e6d51df49d0e2757e067b1fe8b9b820c6780d1 + +securityContext: + readOnlyRootFilesystem: false + runAsGroup: 0 + runAsUser: 0 + +service: + main: + ports: + main: + port: 8800 + protocol: http + targetPort: 8800 + persistence: config: enabled: true @@ -10,19 +23,7 @@ persistence: downloads: enabled: true mountPath: /downloads -podSecurityContext: - runAsGroup: 0 - runAsUser: 0 -securityContext: - readOnlyRootFilesystem: false - runAsNonRoot: false -service: - main: - ports: - main: - port: 8800 - protocol: TCP - targetPort: 8800 portal: - enabled: true + open: + enabled: true