Skip to content

Commit

Permalink
✨ (generic-device-plugin): Add ServiceMonitor values
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Jul 9, 2023
1 parent e599184 commit 10011da
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
6 changes: 3 additions & 3 deletions charts/generic-device-plugin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: generic-device-plugin
description: The generic-device-plugin enables allocating generic Linux devices, such as serial devices, the FUSE device, or video cameras, to Kubernetes Pods
home: https://charts.gabe565.com/charts/generic-device-plugin/
type: application
version: 0.1.0
version: 0.1.1
# renovate datasource=docker depName=ghcr.io/squat/generic-device-plugin
appVersion: latest
kubeVersion: ">=1.22.0-0"
Expand All @@ -17,8 +17,8 @@ sources:
- https://github.com/squat/generic-device-plugin
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/squat/generic-device-plugin
Expand Down
6 changes: 4 additions & 2 deletions charts/generic-device-plugin/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generic Device Plugin

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.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)

Expand All @@ -9,7 +9,7 @@ The generic-device-plugin enables allocating generic Linux devices, such as seri
**Homepage:** <https://charts.gabe565.com/charts/generic-device-plugin/>

**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=generic-device-plugin&version=0.1.0)**
[here](https://github.com/gabe565/charts/issues/new?assignees=gabe565&labels=bug&template=bug_report.yaml&name=generic-device-plugin&version=0.1.1)**

## Source Code

Expand Down Expand Up @@ -169,6 +169,8 @@ See [values.yaml](./values.yaml) for an example configuration file.
| probes.startup | object | `{"path":"/health","type":"HTTP"}` | Configures startup probe |
| securityContext.privileged | bool | `true` | Privileged mode is required to access devices |
| service.main | object | See [values.yaml](./values.yaml) | Configures health/metrics 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. |

---
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
13 changes: 13 additions & 0 deletions charts/generic-device-plugin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,16 @@ probes:
startup:
type: HTTP
path: /health

serviceMonitor:
main:
# -- Enables or disables the serviceMonitor.
enabled: false
# -- Configures the endpoints for the serviceMonitor.
# @default -- See values.yaml
endpoints:
- port: http
scheme: http
path: /metrics
interval: 30s
scrapeTimeout: 10s

0 comments on commit 10011da

Please sign in to comment.