Skip to content

Commit

Permalink
♻️ (headscale): Add ServiceMonitor values
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Jul 9, 2023
1 parent a0fe345 commit a448cd4
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
6 changes: 3 additions & 3 deletions charts/headscale/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: An open source, self-hosted implementation of the Tailscale control
home: https://charts.gabe565.com/charts/headscale/
icon: https://raw.githubusercontent.com/juanfont/headscale/56a7b1e34952c3e0306a134b2be9b4277f5d8d6e/docs/logo/headscale3-dots.svg
type: application
version: 0.12.2
version: 0.12.3
# renovate datasource=docker depName=ghcr.io/juanfont/headscale
appVersion: 0.22.3
kubeVersion: ">=1.22.0-0"
Expand All @@ -25,8 +25,8 @@ sources:
- https://github.com/juanfont/headscale
annotations:
artifacthub.io/changes: |-
- kind: changed
description: Update ghcr.io/juanfont/headscale Docker tag to v0.22.3
- kind: added
description: Add ServiceMonitor values
artifacthub.io/links: |-
- name: App Source
url: https://github.com/juanfont/headscale
Expand Down
6 changes: 4 additions & 2 deletions charts/headscale/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<img src="https://raw.githubusercontent.com/juanfont/headscale/56a7b1e34952c3e0306a134b2be9b4277f5d8d6e/docs/logo/headscale3-dots.svg" align="right" width="92" alt="headscale logo">

![Version: 0.12.2](https://img.shields.io/badge/Version-0.12.2-informational?style=flat)
![Version: 0.12.3](https://img.shields.io/badge/Version-0.12.3-informational?style=flat)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat)
![AppVersion: 0.22.3](https://img.shields.io/badge/AppVersion-0.22.3-informational?style=flat)

Expand All @@ -11,7 +11,7 @@ An open source, self-hosted implementation of the Tailscale control server.
**Homepage:** <https://charts.gabe565.com/charts/headscale/>

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

## Source Code

Expand Down Expand Up @@ -154,6 +154,8 @@ Once deployed, the UI will be available at `/web`.
| persistence.config | object | See [values.yaml](./values.yaml) | Configure persistence settings for the chart under this key. |
| postgresql | object | See [values.yaml](./values.yaml) | Enable and configure postgresql database subchart under this key. For more options see [postgresql chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/postgresql) |
| service.main | 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)
13 changes: 13 additions & 0 deletions charts/headscale/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,16 @@ postgresql:
enabled: false
# storageClass: ""
# size: 8Gi

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: 30s
scrapeTimeout: 10s

0 comments on commit a448cd4

Please sign in to comment.