From d82d77692cf2860e59ade2943aa28dca487111d5 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Thu, 25 Nov 2021 00:10:04 +0100 Subject: [PATCH] fix(uptimerobot-prometheus): correct expose api-key in GUI and move to stable --- .../uptimerobot-prometheus/.helmignore | 0 .../uptimerobot-prometheus/CHANGELOG.md | 0 .../uptimerobot-prometheus/CONFIG.md | 0 .../uptimerobot-prometheus/Chart.yaml | 2 +- .../uptimerobot-prometheus/README.md | 0 .../uptimerobot-prometheus/helm-values.md | 0 .../uptimerobot-prometheus/questions.yaml | 8 ++++++++ .../uptimerobot-prometheus/templates/common.yaml | 0 .../templates/prometheusrules.yaml | 0 .../templates/servicemonitor.yaml | 0 .../uptimerobot-prometheus/values.yaml | 13 ++++--------- 11 files changed, 13 insertions(+), 10 deletions(-) rename charts/{incubator => stable}/uptimerobot-prometheus/.helmignore (100%) rename charts/{incubator => stable}/uptimerobot-prometheus/CHANGELOG.md (100%) rename charts/{incubator => stable}/uptimerobot-prometheus/CONFIG.md (100%) rename charts/{incubator => stable}/uptimerobot-prometheus/Chart.yaml (98%) rename charts/{incubator => stable}/uptimerobot-prometheus/README.md (100%) rename charts/{incubator => stable}/uptimerobot-prometheus/helm-values.md (100%) rename charts/{incubator => stable}/uptimerobot-prometheus/questions.yaml (93%) rename charts/{incubator => stable}/uptimerobot-prometheus/templates/common.yaml (100%) rename charts/{incubator => stable}/uptimerobot-prometheus/templates/prometheusrules.yaml (100%) rename charts/{incubator => stable}/uptimerobot-prometheus/templates/servicemonitor.yaml (100%) rename charts/{incubator => stable}/uptimerobot-prometheus/values.yaml (88%) diff --git a/charts/incubator/uptimerobot-prometheus/.helmignore b/charts/stable/uptimerobot-prometheus/.helmignore similarity index 100% rename from charts/incubator/uptimerobot-prometheus/.helmignore rename to charts/stable/uptimerobot-prometheus/.helmignore diff --git a/charts/incubator/uptimerobot-prometheus/CHANGELOG.md b/charts/stable/uptimerobot-prometheus/CHANGELOG.md similarity index 100% rename from charts/incubator/uptimerobot-prometheus/CHANGELOG.md rename to charts/stable/uptimerobot-prometheus/CHANGELOG.md diff --git a/charts/incubator/uptimerobot-prometheus/CONFIG.md b/charts/stable/uptimerobot-prometheus/CONFIG.md similarity index 100% rename from charts/incubator/uptimerobot-prometheus/CONFIG.md rename to charts/stable/uptimerobot-prometheus/CONFIG.md diff --git a/charts/incubator/uptimerobot-prometheus/Chart.yaml b/charts/stable/uptimerobot-prometheus/Chart.yaml similarity index 98% rename from charts/incubator/uptimerobot-prometheus/Chart.yaml rename to charts/stable/uptimerobot-prometheus/Chart.yaml index a5b3248e6f9..2ee3fee565e 100644 --- a/charts/incubator/uptimerobot-prometheus/Chart.yaml +++ b/charts/stable/uptimerobot-prometheus/Chart.yaml @@ -23,7 +23,7 @@ sources: - https://github.com/lekpamartin/uptimerobot_exporter - https://github.com/k8s-at-home/charts/tree/master/charts/uptimerobot-prometheus type: application -version: 0.0.1 +version: 1.0.0 annotations: truecharts.org/catagories: | - metrics diff --git a/charts/incubator/uptimerobot-prometheus/README.md b/charts/stable/uptimerobot-prometheus/README.md similarity index 100% rename from charts/incubator/uptimerobot-prometheus/README.md rename to charts/stable/uptimerobot-prometheus/README.md diff --git a/charts/incubator/uptimerobot-prometheus/helm-values.md b/charts/stable/uptimerobot-prometheus/helm-values.md similarity index 100% rename from charts/incubator/uptimerobot-prometheus/helm-values.md rename to charts/stable/uptimerobot-prometheus/helm-values.md diff --git a/charts/incubator/uptimerobot-prometheus/questions.yaml b/charts/stable/uptimerobot-prometheus/questions.yaml similarity index 93% rename from charts/incubator/uptimerobot-prometheus/questions.yaml rename to charts/stable/uptimerobot-prometheus/questions.yaml index 7cf72162511..b5b42649640 100644 --- a/charts/incubator/uptimerobot-prometheus/questions.yaml +++ b/charts/stable/uptimerobot-prometheus/questions.yaml @@ -12,6 +12,14 @@ questions: attrs: # Include{fixedEnv} + - variable: UPTIMEROBOT_API_KEY + label: "UptimeRobot API Key" + description: "UptimeRobot.com API Key" + schema: + type: string + default: "" + required: true + # Include{containerConfig} - variable: serviceexpert diff --git a/charts/incubator/uptimerobot-prometheus/templates/common.yaml b/charts/stable/uptimerobot-prometheus/templates/common.yaml similarity index 100% rename from charts/incubator/uptimerobot-prometheus/templates/common.yaml rename to charts/stable/uptimerobot-prometheus/templates/common.yaml diff --git a/charts/incubator/uptimerobot-prometheus/templates/prometheusrules.yaml b/charts/stable/uptimerobot-prometheus/templates/prometheusrules.yaml similarity index 100% rename from charts/incubator/uptimerobot-prometheus/templates/prometheusrules.yaml rename to charts/stable/uptimerobot-prometheus/templates/prometheusrules.yaml diff --git a/charts/incubator/uptimerobot-prometheus/templates/servicemonitor.yaml b/charts/stable/uptimerobot-prometheus/templates/servicemonitor.yaml similarity index 100% rename from charts/incubator/uptimerobot-prometheus/templates/servicemonitor.yaml rename to charts/stable/uptimerobot-prometheus/templates/servicemonitor.yaml diff --git a/charts/incubator/uptimerobot-prometheus/values.yaml b/charts/stable/uptimerobot-prometheus/values.yaml similarity index 88% rename from charts/incubator/uptimerobot-prometheus/values.yaml rename to charts/stable/uptimerobot-prometheus/values.yaml index f576ebdc62b..d19f168e076 100644 --- a/charts/incubator/uptimerobot-prometheus/values.yaml +++ b/charts/stable/uptimerobot-prometheus/values.yaml @@ -2,18 +2,19 @@ image: # -- image repository repository: billimek/prometheus-uptimerobot-exporter # -- image tag - tag: 0.0.1 + tag: 0.0.1@sha256:958b40df7c478b32156517e63a1176e517550969265291d7f38bc432dc065d33 # -- image pull policy pullPolicy: IfNotPresent # -- environment variables. See [application docs](https://github.com/lekpamartin/uptimerobot_exporter/blob/master/docker-compose.yml) for more details. # @default -- See below env: - # -- Set the container timezone - TZ: UTC # -- Set the uptimerobot API key UPTIMEROBOT_API_KEY: "" +securityContext: + readOnlyRootFilesystem: false + # -- Configures service settings for the chart. # @default -- See values.yaml service: @@ -26,12 +27,6 @@ service: protocol: TCP port: 9705 -ingress: - # -- Enable and configure ingress settings for the chart under this key. - # @default -- See values.yaml - main: - enabled: false - metrics: # -- Enable and configure a Prometheus serviceMonitor for the chart under this key. # @default -- See values.yaml