From 19cde1ca68849857052ead6178b5ab3fdc2afd9c Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Thu, 30 Nov 2023 01:56:19 -0600 Subject: [PATCH] feat(domain-watch): Add default ServiceMonitor values --- charts/domain-watch/Chart.yaml | 6 +++--- charts/domain-watch/README.md | 7 +++++-- charts/domain-watch/values.yaml | 24 ++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 5 deletions(-) diff --git a/charts/domain-watch/Chart.yaml b/charts/domain-watch/Chart.yaml index b7202ed16..4f59d0202 100644 --- a/charts/domain-watch/Chart.yaml +++ b/charts/domain-watch/Chart.yaml @@ -4,7 +4,7 @@ description: Tool to watch whois reports and notify when statuses change or expi home: https://charts.gabe565.com/charts/domain-watch/ icon: https://raw.githubusercontent.com/gabe565/domain-watch/ee028db206ea80c2617dd74a87193191a25a0a8a/assets/icon.svg type: application -version: 0.5.2 +version: 0.5.3 # renovate datasource=docker depName=ghcr.io/gabe565/domain-watch appVersion: latest kubeVersion: ">=1.22.0-0" @@ -20,8 +20,8 @@ sources: - https://github.com/gabe565/domain-watch annotations: artifacthub.io/changes: |- - - kind: changed - description: Pin bjw-s common chart links to v1 + - kind: added + description: Add default ServiceMonitor values artifacthub.io/links: |- - name: App Source url: https://github.com/gabe565/domain-watch diff --git a/charts/domain-watch/README.md b/charts/domain-watch/README.md index 7297fd088..9d775ad59 100644 --- a/charts/domain-watch/README.md +++ b/charts/domain-watch/README.md @@ -2,7 +2,7 @@ domain-watch logo -![Version: 0.5.2](https://img.shields.io/badge/Version-0.5.2-informational?style=flat) +![Version: 0.5.3](https://img.shields.io/badge/Version-0.5.3-informational?style=flat) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat) @@ -11,7 +11,7 @@ Tool to watch whois reports and notify when statuses change or expiration is inc **Homepage:** **This chart is not maintained by the upstream project and any issues with the chart should be raised -[here](https://github.com/gabe565/charts/issues/new?assignees=gabe565&labels=bug&template=bug_report.yaml&name=domain-watch&version=0.5.2)** +[here](https://github.com/gabe565/charts/issues/new?assignees=gabe565&labels=bug&template=bug_report.yaml&name=domain-watch&version=0.5.3)** ## Source Code @@ -95,6 +95,9 @@ N/A | image.pullPolicy | string | `"Always"` | image pull policy | | image.repository | string | `"ghcr.io/gabe565/domain-watch"` | image repository | | image.tag | string | `"latest"` | image tag | +| service | object | See [values.yaml](./values.yaml) | Configures service settings for the chart. | +| serviceMonitor.main.enabled | bool | `false` | Enables or disables the serviceMonitor. | +| serviceMonitor.main.endpoints | list | See [values.yaml](./values.yaml) | Configures the endpoints for the serviceMonitor. | --- Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs) diff --git a/charts/domain-watch/values.yaml b/charts/domain-watch/values.yaml index 83aabcc80..7009be742 100644 --- a/charts/domain-watch/values.yaml +++ b/charts/domain-watch/values.yaml @@ -37,3 +37,27 @@ env: WATCH_LOG_LEVEL: info # -- Log format. Valid options are text, json. WATCH_LOG_FORMAT: text + +# -- Configures service settings for the chart. +# @default -- See [values.yaml](./values.yaml) +service: + main: + enabled: false + ports: + http: + enabled: false + metrics: + port: 9090 + +serviceMonitor: + main: + # -- Enables or disables the serviceMonitor. + enabled: false + # -- Configures the endpoints for the serviceMonitor. + # @default -- See [values.yaml](./values.yaml) + endpoints: + - port: metrics + scheme: http + path: /metrics + interval: 1m + scrapeTimeout: 10s