From 562590396f2a60a8452de6b21b0536ab07f3c5ab Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Wed, 16 Aug 2023 23:54:52 +0300 Subject: [PATCH] fix(prometheus): add missing schema key (#11615) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ Fixes # **⚙️ 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: Stavros Kois <47820033+stavros-k@users.noreply.github.com> --- charts/enterprise/prometheus/Chart.yaml | 2 +- charts/enterprise/prometheus/questions.yaml | 33 +++++++++++---------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/charts/enterprise/prometheus/Chart.yaml b/charts/enterprise/prometheus/Chart.yaml index e9f2b33970d..8e129252d9d 100644 --- a/charts/enterprise/prometheus/Chart.yaml +++ b/charts/enterprise/prometheus/Chart.yaml @@ -29,7 +29,7 @@ sources: - https://github.com/prometheus-community/helm-charts - https://github.com/prometheus-operator/kube-prometheus type: application -version: 12.1.0 +version: 12.1.1 annotations: truecharts.org/catagories: | - metrics diff --git a/charts/enterprise/prometheus/questions.yaml b/charts/enterprise/prometheus/questions.yaml index 0c44b233f14..64e2046a7b1 100644 --- a/charts/enterprise/prometheus/questions.yaml +++ b/charts/enterprise/prometheus/questions.yaml @@ -101,23 +101,24 @@ questions: default: "" - variable: basicAuth label: Basic Auth - type: dict description: Basic authentication for remote write - attrs: - - variable: username - label: Username - description: Basic auth username - schema: - type: string - required: true - default: "" - - variable: password - label: Password - description: Basic auth password - schema: - type: string - required: false - default: "" + schema: + type: dict + attrs: + - variable: username + label: Username + description: Basic auth username + schema: + type: string + required: true + default: "" + - variable: password + label: Password + description: Basic auth password + schema: + type: string + required: false + default: "" - variable: exporters group: "App Configuration"