From e08dcab8f48d38a2f5ef41ad9e26b7ff64b82158 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sun, 26 Jun 2022 13:09:10 +0300 Subject: [PATCH] chore(dashdot): add 2 env vars in gui (#2992) --- charts/stable/dashdot/Chart.yaml | 2 +- charts/stable/dashdot/questions.yaml | 14 +++++++++++++- charts/stable/dashdot/values.yaml | 2 ++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/charts/stable/dashdot/Chart.yaml b/charts/stable/dashdot/Chart.yaml index 649637e4cfb..e8f8c7b4cbe 100644 --- a/charts/stable/dashdot/Chart.yaml +++ b/charts/stable/dashdot/Chart.yaml @@ -19,7 +19,7 @@ name: dashdot sources: - https://github.com/MauriceNino/dashdot - https://hub.docker.com/r/mauricenino/dashdot -version: 1.0.3 +version: 1.0.4 annotations: truecharts.org/catagories: | - media diff --git a/charts/stable/dashdot/questions.yaml b/charts/stable/dashdot/questions.yaml index 89ecd5eabd8..26bdc212966 100644 --- a/charts/stable/dashdot/questions.yaml +++ b/charts/stable/dashdot/questions.yaml @@ -91,7 +91,19 @@ questions: default: "os,cpu,storage,ram,network" - variable: DASHDOT_ACCEPT_OOKLA_EULA label: "DASHDOT_ACCEPT_OOKLA_EULA" - description: "Use the newer and more accurate speedtest tool from Ookla, instead of the old speedtest-cli for your speedtests. " + description: "Use the newer and more accurate speedtest tool from Ookla, instead of the old speedtest-cli for your speedtests." + schema: + type: boolean + default: false + - variable: DASHDOT_USE_IMPERIAL + label: "DASHDOT_USE_IMPERIAL" + description: "Shows any units in the imperial system, instead of the default metric." + schema: + type: boolean + default: false + - variable: DASHDOT_DISABLE_INTEGRATIONS + label: "DASHDOT_DISABLE_INTEGRATIONS" + description: "Disables support for integrations. This does two things: disable CORS and disable open API endpoints." schema: type: boolean default: false diff --git a/charts/stable/dashdot/values.yaml b/charts/stable/dashdot/values.yaml index 9b7a0376bd0..a545df3f494 100644 --- a/charts/stable/dashdot/values.yaml +++ b/charts/stable/dashdot/values.yaml @@ -22,6 +22,8 @@ env: # User Defined # DASHDOT_WIDGET_LIST: os,cpu,storage,ram,network # DASHDOT_ACCEPT_OOKLA_EULA: true + # DASHDOT_USE_IMPERIAL: false + # DASHDOT_DISABLE_INTEGRATIONS: false # DASHDOT_DISABLE_HOST: false # DASHDOT_OS_LABEL_LIST: "os,arch,up_since" # DASHDOT_OS_WIDGET_GROW: "1.5"