From b590f4100cb8339f39dd1dd452abf24c8b21bcb3 Mon Sep 17 00:00:00 2001 From: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Date: Fri, 28 Jul 2023 22:20:22 -0400 Subject: [PATCH] migrate(filezilla): Update to new common (#10904) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ 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: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Co-authored-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> --- charts/incubator/filezilla/Chart.yaml | 4 ++-- .../incubator/filezilla/templates/NOTES.txt | 1 + .../incubator/filezilla/templates/common.yaml | 3 +-- charts/incubator/filezilla/values.yaml | 22 ++++++++++++------- 4 files changed, 18 insertions(+), 12 deletions(-) create mode 100644 charts/incubator/filezilla/templates/NOTES.txt diff --git a/charts/incubator/filezilla/Chart.yaml b/charts/incubator/filezilla/Chart.yaml index b21ae92f6ce..a0616914f1a 100644 --- a/charts/incubator/filezilla/Chart.yaml +++ b/charts/incubator/filezilla/Chart.yaml @@ -3,7 +3,7 @@ appVersion: "3.59.0" dependencies: - name: common repository: https://library-charts.truecharts.org - version: 11.1.2 + version: 13.2.1 description: A Helm chart for Kubernetes home: https://truecharts.org/charts/incubator/filezilla icon: https://truecharts.org/img/hotlink-ok/chart-icons/filezilla.png @@ -24,7 +24,7 @@ sources: - https://filezilla-project.org/ - https://github.com/linuxserver/docker-filezilla type: application -version: 7.0.0 +version: 8.0.0 annotations: truecharts.org/catagories: | - media diff --git a/charts/incubator/filezilla/templates/NOTES.txt b/charts/incubator/filezilla/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/filezilla/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/filezilla/templates/common.yaml b/charts/incubator/filezilla/templates/common.yaml index 76759c7a0c9..b51394e00a4 100644 --- a/charts/incubator/filezilla/templates/common.yaml +++ b/charts/incubator/filezilla/templates/common.yaml @@ -1,2 +1 @@ - -{{ include "tc.common.loader.all" . }} +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/filezilla/values.yaml b/charts/incubator/filezilla/values.yaml index 437adf4dac5..ee1da4568b3 100644 --- a/charts/incubator/filezilla/values.yaml +++ b/charts/incubator/filezilla/values.yaml @@ -4,26 +4,32 @@ image: tag: 3.59.0@sha256:e6c854d35020a3fafddee718542cd99ef416432fe8424cf1b84559ecec1e6289 securityContext: - readOnlyRootFilesystem: false - runAsNonRoot: false + container: + readOnlyRootFilesystem: false + runAsUser: 0 + runAsGroup: 0 + +workload: + main: + podSpec: + containers: + main: + securityContext: -podSecurityContext: - runAsUser: 0 - runAsGroup: 0 service: main: ports: main: port: 10035 + protocol: http targetPort: 3000 persistence: config: enabled: true mountPath: "/config" - varrun: - enabled: true portal: - enabled: true + open: + enabled: true