From 5a3022cd290e8bfe518dc4d6983c758cf4f3ef9d Mon Sep 17 00:00:00 2001 From: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Date: Sat, 14 Oct 2023 15:47:43 -0400 Subject: [PATCH] fix(readarr) fix readarr probe (#13577) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Changing the probe allows for the auth type to be set without it failing. ⚒️ Fixes # **⚙️ 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:** - [X] ⚖️ My code follows the style guidelines of this project - [X] 👀 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/readarr/questions.yaml | 4 ++-- charts/stable/readarr/values.yaml | 27 +++++++++++---------------- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/charts/stable/readarr/questions.yaml b/charts/stable/readarr/questions.yaml index 517d3636b14..9bf88b8f07c 100644 --- a/charts/stable/readarr/questions.yaml +++ b/charts/stable/readarr/questions.yaml @@ -28,8 +28,8 @@ questions: enum: - value: "" description: In-App Setting - - value: External - description: External + - value: None + description: None - value: Basic description: Basic - value: Forms diff --git a/charts/stable/readarr/values.yaml b/charts/stable/readarr/values.yaml index 57258bc899e..d6ea53737b2 100644 --- a/charts/stable/readarr/values.yaml +++ b/charts/stable/readarr/values.yaml @@ -34,24 +34,19 @@ workload: probes: liveness: enabled: true - ## Set this to true if you wish to specify your own livenessProbe - custom: true - ## The spec field contains the values for the default livenessProbe. - ## If you selected custom: true, this field holds the definition of the livenessProbe. - spec: - exec: - command: - - /usr/bin/env - - bash - - -c - - curl --fail localhost:8787/api/v1/system/status?apiKey=`IFS=\> && while read -d \< E C; do if [[ $E = "ApiKey" ]]; then echo $C; fi; done < /config/config.xml` - failureThreshold: 5 - initialDelaySeconds: 60 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 10 + type: http + path: /ping + readiness: + enabled: true + type: http + path: /ping + startup: + enabled: true + type: http + path: /ping env: READARR__PORT: "{{ .Values.service.main.ports.main.port }}" + READARR__AUTHENTICATION_METHOD: "None" exportarr: enabled: true type: Deployment