From 32bf612c2ee74dfdd7e645384ddab69bd30d13d5 Mon Sep 17 00:00:00 2001 From: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Date: Tue, 21 Nov 2023 05:17:23 -0500 Subject: [PATCH] fix(redmine): Chnage user/grou to match upstream (#15085) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Changes the user and group to match upstream to fix #15079 ⚒️ Fixes #15079 **⚙️ 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: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> --- charts/stable/redmine/Chart.yaml | 2 +- charts/stable/redmine/questions.yaml | 6 +++--- charts/stable/redmine/values.yaml | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/charts/stable/redmine/Chart.yaml b/charts/stable/redmine/Chart.yaml index 101c74b060a..a789899c8dd 100644 --- a/charts/stable/redmine/Chart.yaml +++ b/charts/stable/redmine/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 appVersion: 5.0.6 kubeVersion: ">=1.16.0-0" -version: 8.0.18 +version: 8.1.0 name: redmine description: Redmine is a flexible project management web application written using Ruby on Rails framework. type: application diff --git a/charts/stable/redmine/questions.yaml b/charts/stable/redmine/questions.yaml index 4de34faa762..a740d9403ee 100644 --- a/charts/stable/redmine/questions.yaml +++ b/charts/stable/redmine/questions.yaml @@ -85,13 +85,13 @@ questions: description: "The UserID of the user running the application" schema: type: int - default: 568 + default: 999 - variable: runAsGroup label: "runAsGroup" description: "The groupID this App of the user running the application" schema: type: int - default: 568 + default: 999 # Include{securityContextContainer} # Include{securityContextAdvanced} # Include{securityContextPod} @@ -100,7 +100,7 @@ questions: description: "The group that should own ALL storage." schema: type: int - default: 568 + default: 999 # Include{resources} # Include{advanced} diff --git a/charts/stable/redmine/values.yaml b/charts/stable/redmine/values.yaml index f42706a833e..805e75d7056 100644 --- a/charts/stable/redmine/values.yaml +++ b/charts/stable/redmine/values.yaml @@ -27,6 +27,10 @@ portal: securityContext: container: readOnlyRootFilesystem: false + runAsUser: 999 + runAsGroup: 999 + pod: + fsGroup: 999 workload: main: podSpec: