From 8caee96cf9fdf7e3f9e66583c4a8517019fd8bf1 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Thu, 6 Jul 2023 15:08:21 -0500 Subject: [PATCH] :sparkles: (relax-sounds): Add ServiceMonitor values --- charts/relax-sounds/Chart.yaml | 6 +++--- charts/relax-sounds/README.md | 7 +++++-- charts/relax-sounds/values.yaml | 20 ++++++++++++++++++++ 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/charts/relax-sounds/Chart.yaml b/charts/relax-sounds/Chart.yaml index 788ab5f5e..2dd36118c 100644 --- a/charts/relax-sounds/Chart.yaml +++ b/charts/relax-sounds/Chart.yaml @@ -4,7 +4,7 @@ description: Relax Sounds is a website that lets you stream relaxing sounds to y home: https://charts.gabe565.com/charts/relax-sounds/ icon: https://github.com/gabe565/relax-sounds/raw/3e55b07a957f2e20aceeeba1d36226791f2f1569/frontend/src/assets/icon-purple.svg type: application -version: 0.6.0 +version: 0.6.1 # renovate datasource=docker depName=ghcr.io/gabe565/relax-sounds appVersion: latest kubeVersion: ">=1.22.0-0" @@ -16,8 +16,8 @@ sources: - https://github.com/gabe565/relax-sounds annotations: artifacthub.io/changes: |- - - kind: changed - description: Update common Helm release to v1.5.0 + - kind: added + description: Add ServiceMonitor values artifacthub.io/links: |- - name: App Source url: https://github.com/gabe565/relax-sounds diff --git a/charts/relax-sounds/README.md b/charts/relax-sounds/README.md index e376c87ff..63bcf0819 100644 --- a/charts/relax-sounds/README.md +++ b/charts/relax-sounds/README.md @@ -2,7 +2,7 @@ relax-sounds logo -![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat) +![Version: 0.6.1](https://img.shields.io/badge/Version-0.6.1-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 @@ Relax Sounds is a website that lets you stream relaxing sounds to your browser o **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=relax-sounds&version=0.6.0)** +[here](https://github.com/gabe565/charts/issues/new?assignees=gabe565&labels=bug&template=bug_report.yaml&name=relax-sounds&version=0.6.1)** ## Source Code @@ -91,6 +91,9 @@ N/A | persistence.data | object | See [values.yaml](./values.yaml) | Configure persistence settings for the chart under this key. | | podSecurityContext.fsGroup | int | `1000` | Volume group permissions | | 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 | Configures the endpoints for the serviceMonitor. | +| serviceMonitor.main.serviceName | string | `"{{ include \"bjw-s.common.lib.chart.names.fullname\" $ }}-metrics"` | Configures the target Service for the serviceMonitor. Helm templates can be used. | --- Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs) diff --git a/charts/relax-sounds/values.yaml b/charts/relax-sounds/values.yaml index 3ba8dd1a0..e0efe0c85 100644 --- a/charts/relax-sounds/values.yaml +++ b/charts/relax-sounds/values.yaml @@ -28,6 +28,11 @@ service: ports: http: port: 80 + metrics: + enabled: false + ports: + metrics: + port: 9090 ingress: # -- Enable and configure ingress settings for the chart under this key. @@ -57,3 +62,18 @@ persistence: podSecurityContext: # -- Volume group permissions fsGroup: 1000 + +serviceMonitor: + main: + # -- Enables or disables the serviceMonitor. + enabled: false + # -- Configures the target Service for the serviceMonitor. Helm templates can be used. + serviceName: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}-metrics' + # -- Configures the endpoints for the serviceMonitor. + # @default -- See values.yaml + endpoints: + - port: metrics + scheme: http + path: /metrics + interval: 1m + scrapeTimeout: 10s