From d32c92a33a6b0d5bd8be5fd9b6b64d3530faa6fd Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Thu, 27 Apr 2023 22:47:42 +0300 Subject: [PATCH] fix(omada-controller): Add host header and probe /api/info path (#8385) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ 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 - [x] ⚠️ 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/omada-controller/Chart.yaml | 2 +- charts/stable/omada-controller/values.yaml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/charts/stable/omada-controller/Chart.yaml b/charts/stable/omada-controller/Chart.yaml index 9a375a5a50e..91b12e7387f 100644 --- a/charts/stable/omada-controller/Chart.yaml +++ b/charts/stable/omada-controller/Chart.yaml @@ -18,7 +18,7 @@ name: omada-controller sources: - https://github.com/truecharts/charts/tree/master/charts/stable/omada-controller - https://github.com/mbentley/docker-omada-controller -version: 9.0.9 +version: 9.0.10 annotations: truecharts.org/catagories: | - media diff --git a/charts/stable/omada-controller/values.yaml b/charts/stable/omada-controller/values.yaml index c3467cc5cec..3dcdbf59ac2 100644 --- a/charts/stable/omada-controller/values.yaml +++ b/charts/stable/omada-controller/values.yaml @@ -68,3 +68,16 @@ workload: main: env: PORTAL_HTTPS_PORT: "{{ .Values.service.comm.ports.comm.port }}" + probes: + startup: + path: /api/info + httpHeaders: + Host: kube.internal.health + liveness: + path: /api/info + httpHeaders: + Host: kube.internal.health + readiness: + path: /api/info + httpHeaders: + Host: kube.internal.health