From 9f70dadbe53d84a5ffd55b6f683c33977023aa0c Mon Sep 17 00:00:00 2001 From: kqmaverick <121722567+kqmaverick@users.noreply.github.com> Date: Sat, 12 Aug 2023 01:22:26 -0700 Subject: [PATCH] fix(linkding) superuser env fix (#11439) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Linkding superuser env's were not correct. ⚒️ Fixes #8132 **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [X] 🪛 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 - [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/linkding/Chart.yaml | 2 +- charts/stable/linkding/questions.yaml | 10 ++-------- charts/stable/linkding/values.yaml | 5 ++--- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/charts/stable/linkding/Chart.yaml b/charts/stable/linkding/Chart.yaml index 820bb90c43c..8e378383315 100644 --- a/charts/stable/linkding/Chart.yaml +++ b/charts/stable/linkding/Chart.yaml @@ -19,7 +19,7 @@ name: linkding sources: - https://github.com/truecharts/charts/tree/master/charts/stable/linkding - https://github.com/sissbruecker/linkding -version: 6.0.0 +version: 6.0.1 annotations: truecharts.org/catagories: | - bookmarks diff --git a/charts/stable/linkding/questions.yaml b/charts/stable/linkding/questions.yaml index 2148a3f487b..2164d0697a1 100644 --- a/charts/stable/linkding/questions.yaml +++ b/charts/stable/linkding/questions.yaml @@ -21,19 +21,13 @@ questions: additional_attrs: true type: dict attrs: - - variable: DJANGO_SUPERUSER_USERNAME + - variable: LD_SUPERUSER_NAME label: "Superuser Username (Initial install only)" schema: type: string default: "" required: true - - variable: DJANGO_SUPERUSER_EMAIL - label: "Superuser Email (Initial install only)" - schema: - type: string - default: "" - required: true - - variable: DJANGO_SUPERUSER_PASSWORD + - variable: LD_SUPERUSER_PASSWORD label: "Superuser Password (Initial install only)" schema: type: string diff --git a/charts/stable/linkding/values.yaml b/charts/stable/linkding/values.yaml index ebc004fba83..d93fa6507a4 100644 --- a/charts/stable/linkding/values.yaml +++ b/charts/stable/linkding/values.yaml @@ -52,6 +52,5 @@ workload: LD_REQUEST_TIMEOUT: 60 LD_DISABLE_BACKGROUND_TASKS: false LD_DISABLE_URL_VALIDATION: false - DJANGO_SUPERUSER_USERNAME: "superuser" - DJANGO_SUPERUSER_EMAIL: "super@example.com" - DJANGO_SUPERUSER_PASSWORD: "somesecret" + LD_SUPERUSER_NAME: "superuser" + LD_SUPERUSER_PASSWORD: "somesecret"