From f6a3ef5966ce8e57afaeec1f9449a73b28733207 Mon Sep 17 00:00:00 2001 From: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Date: Sun, 31 Dec 2023 08:17:02 -0500 Subject: [PATCH] feat(baikal): Add Skip chown command in startup script (#16584) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Adding another env var to help slower systems ⚒️ Fixes #16573 **⚙️ Type of change** - [X] ⚙️ 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._ --- charts/stable/baikal/Chart.yaml | 2 +- charts/stable/baikal/questions.yaml | 13 +++++++++++++ charts/stable/baikal/values.yaml | 7 +++++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/charts/stable/baikal/Chart.yaml b/charts/stable/baikal/Chart.yaml index 88a33f7f8e3..7c481fe7250 100644 --- a/charts/stable/baikal/Chart.yaml +++ b/charts/stable/baikal/Chart.yaml @@ -1,7 +1,7 @@ kubeVersion: ">=1.24.0-0" apiVersion: v2 name: baikal -version: 4.1.0 +version: 4.2.0 appVersion: 0.9.4 description: Baikal is a lightweight CalDAV+CardDAV server home: https://truecharts.org/charts/incubator/baikal diff --git a/charts/stable/baikal/questions.yaml b/charts/stable/baikal/questions.yaml index be0c0c3c9af..6c5bdb9797b 100644 --- a/charts/stable/baikal/questions.yaml +++ b/charts/stable/baikal/questions.yaml @@ -10,6 +10,19 @@ questions: # Include{replicas1} # Include{podSpec} # Include{containerMain} + - variable: env + group: "App Configuration" + label: "Image Environment" + schema: + additional_attrs: true + type: dict + attrs: + - variable: BAIKAL_SKIP_CHOWN + label: BAIKAL_SKIP_CHOWN + description: Skip chown command in startup script + schema: + type: boolean + default: false # Include{containerBasic} # Include{containerAdvanced} diff --git a/charts/stable/baikal/values.yaml b/charts/stable/baikal/values.yaml index 75c454c127a..15696e07641 100644 --- a/charts/stable/baikal/values.yaml +++ b/charts/stable/baikal/values.yaml @@ -24,3 +24,10 @@ service: port: 10293 protocol: http targetPort: 80 +workload: + main: + podSpec: + containers: + main: + env: + BAIKAL_SKIP_CHOWN: false