Compare commits
21 Commits
bookstack-
...
multus-3.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
302bdd1b95 | ||
|
|
b36d90e5f1 | ||
|
|
5165f06ca7 | ||
|
|
f16383e204 | ||
|
|
caac991f65 | ||
|
|
31c36ef258 | ||
|
|
eb2910e587 | ||
|
|
1cab628960 | ||
|
|
4aa2b5e2d6 | ||
|
|
4e7b66bb3e | ||
|
|
bfd9b94f6e | ||
|
|
ff7a384e29 | ||
|
|
aa1ec1df0c | ||
|
|
b7837a8990 | ||
|
|
1aa5bf3cbb | ||
|
|
62140f8d2c | ||
|
|
440f518efc | ||
|
|
7fd2ef4f1e | ||
|
|
2ba410d4e7 | ||
|
|
e4f3894a05 | ||
|
|
38b0952140 |
@@ -137,6 +137,7 @@
|
||||
| [whoogle](stable/whoogle) | A self-hosted, ad-free, privacy-respecting metasearch engine |
|
||||
| [wikijs](stable/wikijs) | Make documentation a joy to write using Wiki.js's beautiful and intuitive interface! |
|
||||
| [wireguard](stable/wireguard) | Fast, modern, secure VPN tunnel |
|
||||
| [wmbusmeters](stable/wmbusmeters) | Wmbusmeters receives and decodes C1,T1 or S1 telegrams (using the wireless mbus protocol) to acquire utility meter readings. |
|
||||
| [xbackbone](stable/xbackbone) | XBackBone is a simple, self-hosted, lightweight PHP file manager that support the instant sharing tool ShareX and *NIX systems. It supports uploading and displaying images, GIF, video, code, formatted text, and file downloading and uploading. Also have a web UI with multi user management, past uploads history and search support. |
|
||||
| [xteve](stable/xteve) | M3U Proxy for Plex DVR and Emby Live TV. |
|
||||
| [youtubedl-material](stable/youtubedl-material) | Self-hosted YouTube downloader built on Material Design |
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: 1.0.0
|
||||
description: Streams graphic applications/games (retroarch, firefox, steam) runing on Kubernetes
|
||||
name: games-on-whales
|
||||
version: 1.3.0
|
||||
version: 1.4.0
|
||||
kubeVersion: ">=1.19.0-0"
|
||||
keywords:
|
||||
- games-on-whales
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# games-on-whales
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Streams graphic applications/games (retroarch, firefox, steam) runing on Kubernetes
|
||||
|
||||
@@ -85,14 +85,7 @@ graphic_resources:
|
||||
#### Nvidia
|
||||
|
||||
If you use the Nvidia propietary device driver then you will need the
|
||||
[Nvidia device plugin](https://github.com/NVIDIA/k8s-device-plugin)
|
||||
and set `graphic_resources` value to specify the resource limits.
|
||||
Example:
|
||||
|
||||
```
|
||||
graphic_resources:
|
||||
nvidia.com/gpu: 1 # requesting 1 nvidia GPU
|
||||
```
|
||||
[Nvidia device plugin](https://github.com/NVIDIA/k8s-device-plugin).
|
||||
|
||||
#### Proxmox
|
||||
|
||||
@@ -156,6 +149,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [1.4.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- add required env variables for nvidia runtime
|
||||
|
||||
### [1.3.0]
|
||||
|
||||
#### Added
|
||||
|
||||
@@ -9,6 +9,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [1.4.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- add required env variables for nvidia runtime
|
||||
|
||||
### [1.3.0]
|
||||
|
||||
#### Added
|
||||
|
||||
@@ -24,14 +24,7 @@ graphic_resources:
|
||||
#### Nvidia
|
||||
|
||||
If you use the Nvidia propietary device driver then you will need the
|
||||
[Nvidia device plugin](https://github.com/NVIDIA/k8s-device-plugin)
|
||||
and set `graphic_resources` value to specify the resource limits.
|
||||
Example:
|
||||
|
||||
```
|
||||
graphic_resources:
|
||||
nvidia.com/gpu: 1 # requesting 1 nvidia GPU
|
||||
```
|
||||
[Nvidia device plugin](https://github.com/NVIDIA/k8s-device-plugin).
|
||||
|
||||
#### Proxmox
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ env:
|
||||
SUNSHINE_USER: {{ .Values.sunshine.user }}
|
||||
GOW_REQUIRED_DEVICES: /dev/uinput /dev/input/event* /dev/dri/*
|
||||
XDG_RUNTIME_DIR: /tmp/.X11-unix
|
||||
NVIDIA_DRIVER_CAPABILITIES: utility,video,graphics,display
|
||||
NVIDIA_VISIBLE_DEVICES: all
|
||||
{{- if .Values.sunshine.env }}
|
||||
{{ .Values.sunshine.env | toYaml | nindent 2 }}
|
||||
{{- end }}
|
||||
@@ -64,6 +66,10 @@ additionalContainers:
|
||||
value: {{ .Values.xorg.refreshrate | quote}}
|
||||
- name: RESOLUTION
|
||||
value: {{ .Values.xorg.resolution | quote }}
|
||||
- name: NVIDIA_DRIVER_CAPABILITIES
|
||||
value: all
|
||||
- name: NVIDIA_VISIBLE_DEVICES
|
||||
value: all
|
||||
volumeMounts:
|
||||
- name: dev-input
|
||||
mountPath: /dev/input
|
||||
@@ -105,6 +111,10 @@ additionalContainers:
|
||||
value: "/tmp/pulse/pulse-socket"
|
||||
- name: GOW_REQUIRED_DEVICES
|
||||
value: /dev/uinput /dev/input/event* /dev/dri/* /dev/snd/*
|
||||
- name: NVIDIA_DRIVER_CAPABILITIES
|
||||
value: all
|
||||
- name: NVIDIA_VISIBLE_DEVICES
|
||||
value: all
|
||||
volumeMounts:
|
||||
- name: audio-socket
|
||||
mountPath: /tmp/pulse
|
||||
@@ -147,6 +157,10 @@ additionalContainers:
|
||||
value: {{ .Values.steam.protonLog | quote }}
|
||||
- name: PULSE_SERVER
|
||||
value: "/tmp/pulse/pulse-socket"
|
||||
- name: NVIDIA_DRIVER_CAPABILITIES
|
||||
value: all
|
||||
- name: NVIDIA_VISIBLE_DEVICES
|
||||
value: all
|
||||
volumeMounts:
|
||||
- name: audio-socket
|
||||
mountPath: /tmp/pulse
|
||||
@@ -180,6 +194,10 @@ additionalContainers:
|
||||
value: {{ .Values.firefox.logLevel | quote }}
|
||||
- name: PULSE_SERVER
|
||||
value: "/tmp/pulse/pulse-socket"
|
||||
- name: NVIDIA_DRIVER_CAPABILITIES
|
||||
value: all
|
||||
- name: NVIDIA_VISIBLE_DEVICES
|
||||
value: all
|
||||
volumeMounts:
|
||||
- name: audio-socket
|
||||
mountPath: /tmp/pulse
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
appVersion: v1.0.0.2226
|
||||
appVersion: v1.0.0.2255
|
||||
description: Looks and smells like Sonarr but made for music
|
||||
name: lidarr
|
||||
version: 11.0.0
|
||||
version: 12.0.1
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- lidarr
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# lidarr
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Looks and smells like Sonarr but made for music
|
||||
|
||||
@@ -78,13 +78,22 @@ N/A
|
||||
|-----|------|---------|-------------|
|
||||
| env | object | See below | environment variables. |
|
||||
| env.TZ | string | `"UTC"` | Set the container timezone |
|
||||
| exporter.enabled | bool | See values.yaml | Enable and configure Exportarr sidecar and Prometheus podMonitor. |
|
||||
| exporter.env.additionalMetrics | bool | `false` | Set to true to enable gathering of additional metrics (slow) |
|
||||
| exporter.env.port | int | `32123` | metrics port |
|
||||
| exporter.env.unknownQueueItems | bool | `false` | Set to true to enable gathering unknown queue items |
|
||||
| exporter.image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| exporter.image.repository | string | `"ghcr.io/onedr0p/exportarr"` | image repository |
|
||||
| exporter.image.tag | string | `"v0.6.1"` | image tag |
|
||||
| exporter.podMonitor.interval | string | `"3m"` | |
|
||||
| exporter.podMonitor.labels | object | `{}` | |
|
||||
| exporter.podMonitor.scrapeTimeout | string | `"1m"` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| image.repository | string | `"ghcr.io/k8s-at-home/lidarr"` | image repository |
|
||||
| image.tag | string | `"v1.0.0.2226"` | image tag |
|
||||
| image.tag | string | `"v1.0.0.2255"` | image tag |
|
||||
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
|
||||
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
|
||||
| probes | object | See values.yaml | Configures the probes for the main Pod. |
|
||||
| prometheus.podMonitor | object | See values.yaml | Enable and configure a Prometheus podMonitor for the chart under this key. See also the notes under `additionalContainers`. |
|
||||
| service | object | See values.yaml | Configures service settings for the chart. |
|
||||
|
||||
## Changelog
|
||||
@@ -93,6 +102,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [12.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Refactoring of the Exportarr sidecar and Prometheus podMonitor. This is a breaking change if it was enabled previously.
|
||||
|
||||
### [11.0.0]
|
||||
|
||||
#### Changed
|
||||
@@ -119,6 +134,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- Initial version
|
||||
|
||||
[12.0.0]: #1200
|
||||
[11.0.0]: #1100
|
||||
[10.0.0]: #1000
|
||||
[9.0.0]: #900
|
||||
|
||||
@@ -9,6 +9,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [12.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Refactoring of the Exportarr sidecar and Prometheus podMonitor. This is a breaking change if it was enabled previously.
|
||||
|
||||
### [11.0.0]
|
||||
|
||||
#### Changed
|
||||
@@ -35,6 +41,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- Initial version
|
||||
|
||||
[12.0.0]: #1200
|
||||
[11.0.0]: #1100
|
||||
[10.0.0]: #1000
|
||||
[9.0.0]: #900
|
||||
|
||||
@@ -7,7 +7,7 @@ persistence:
|
||||
additionalContainers:
|
||||
exportarr:
|
||||
name: exportarr
|
||||
image: ghcr.io/onedr0p/exportarr:v0.6.0
|
||||
image: ghcr.io/onedr0p/exportarr:v0.6.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
args: ["exportarr", "lidarr"]
|
||||
env:
|
||||
|
||||
@@ -1 +1,38 @@
|
||||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
|
||||
{{/* Append the hardcoded settings */}}
|
||||
{{- define "lidarr.harcodedValues" -}}
|
||||
{{ if .Values.exporter.enabled }}
|
||||
additionalContainers:
|
||||
exporter:
|
||||
name: exporter
|
||||
image: "{{ .Values.exporter.image.repository }}:{{ .Values.exporter.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.exporter.image.pullPolicy }}
|
||||
args: ["exportarr", "lidarr"]
|
||||
env:
|
||||
- name: URL
|
||||
value: "http://localhost"
|
||||
- name: CONFIG
|
||||
value: "/config/config.xml"
|
||||
- name: PORT
|
||||
value: "{{ .Values.exporter.env.port }}"
|
||||
- name: ENABLE_ADDITIONAL_METRICS
|
||||
value: "{{ .Values.exporter.env.additionalMetrics }}"
|
||||
- name: ENABLE_UNKNOWN_QUEUE_ITEMS
|
||||
value: "{{ .Values.exporter.env.unknownQueueItems }}"
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: {{ .Values.exporter.env.port }}
|
||||
volumeMounts:
|
||||
{{ if .Values.persistence.config.enabled }}
|
||||
- name: config
|
||||
mountPath: /config
|
||||
readOnly: true
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
{{- $_ := mergeOverwrite .Values (include "lidarr.harcodedValues" . | fromYaml) -}}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{{- if .Values.prometheus.podMonitor.enabled }}
|
||||
{{- if .Values.exporter.enabled }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PodMonitor
|
||||
metadata:
|
||||
name: {{ template "common.names.fullname" . }}
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
{{- with .Values.prometheus.podMonitor.additionalLabels }}
|
||||
{{- with .Values.exporter.podMonitor.labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
@@ -13,12 +13,17 @@ spec:
|
||||
matchLabels:
|
||||
{{- include "common.labels.selectorLabels" . | nindent 6 }}
|
||||
podMetricsEndpoints:
|
||||
- port: exportarr
|
||||
{{- with .Values.prometheus.podMonitor.interval }}
|
||||
interval: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.prometheus.podMonitor.scrapeTimeout }}
|
||||
scrapeTimeout: {{ . }}
|
||||
{{- end }}
|
||||
path: /metrics
|
||||
- port: metrics
|
||||
{{- with .Values.exporter.podMonitor.interval }}
|
||||
interval: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.exporter.podMonitor.scrapeTimeout }}
|
||||
scrapeTimeout: {{ . }}
|
||||
{{- end }}
|
||||
path: /metrics
|
||||
relabelings:
|
||||
- sourceLabels: ['namespace', 'job']
|
||||
regex: ".+/(.*)"
|
||||
targetLabel: "job"
|
||||
replacement: "$1"
|
||||
{{- end }}
|
||||
|
||||
@@ -9,7 +9,7 @@ image:
|
||||
# -- image repository
|
||||
repository: ghcr.io/k8s-at-home/lidarr
|
||||
# -- image tag
|
||||
tag: v1.0.0.2226
|
||||
tag: v1.0.0.2255
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
@@ -66,35 +66,25 @@ persistence:
|
||||
enabled: false
|
||||
mountPath: /media
|
||||
|
||||
prometheus:
|
||||
# -- Enable and configure a Prometheus podMonitor for the chart under this key.
|
||||
# See also the notes under `additionalContainers`.
|
||||
exporter:
|
||||
# -- Enable and configure Exportarr sidecar and Prometheus podMonitor.
|
||||
# @default -- See values.yaml
|
||||
enabled: false
|
||||
podMonitor:
|
||||
enabled: false
|
||||
interval: 3m
|
||||
scrapeTimeout: 1m
|
||||
additionalLabels: {}
|
||||
|
||||
# # When using the prometheus.podMonitor the following
|
||||
# # container is required
|
||||
# additionalContainers:
|
||||
# exportarr:
|
||||
# name: exportarr
|
||||
# image: ghcr.io/onedr0p/exportarr:v0.6.0
|
||||
# imagePullPolicy: IfNotPresent
|
||||
# args: ["exportarr", "lidarr"]
|
||||
# env:
|
||||
# - name: PORT
|
||||
# value: "32123"
|
||||
# - name: URL
|
||||
# value: "http://localhost"
|
||||
# - name: CONFIG
|
||||
# value: "/config/config.xml"
|
||||
# ports:
|
||||
# - name: exportarr
|
||||
# containerPort: 32123
|
||||
# volumeMounts:
|
||||
# - name: config
|
||||
# mountPath: /config
|
||||
# readOnly: true
|
||||
labels: {}
|
||||
image:
|
||||
# -- image repository
|
||||
repository: ghcr.io/onedr0p/exportarr
|
||||
# -- image tag
|
||||
tag: v0.6.1
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
# -- metrics port
|
||||
port: 32123
|
||||
# -- Set to true to enable gathering of additional metrics (slow)
|
||||
additionalMetrics: false
|
||||
# -- Set to true to enable gathering unknown queue items
|
||||
unknownQueueItems: false
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: v3.7.1
|
||||
description: multus CNI allows multiple NICs per pod
|
||||
name: multus
|
||||
version: 3.0.0
|
||||
version: 3.1.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- multus
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# multus
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
multus CNI allows multiple NICs per pod
|
||||
|
||||
@@ -107,6 +107,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [3.1.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Added pre-upgrade and pre-rollback to avoid hangs during chart upgrades
|
||||
|
||||
### [3.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
@@ -9,6 +9,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [3.1.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Added pre-upgrade and pre-rollback to avoid hangs during chart upgrades
|
||||
|
||||
### [3.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
@@ -7,7 +7,7 @@ metadata:
|
||||
annotations:
|
||||
# This is what defines this resource as a hook. Without this line, the
|
||||
# job is considered part of the release.
|
||||
"helm.sh/hook": pre-delete
|
||||
"helm.sh/hook": pre-delete,pre-upgrade,pre-rollback
|
||||
"helm.sh/hook-weight": "-5"
|
||||
"helm.sh/hook-delete-policy": hook-succeeded
|
||||
spec:
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
appVersion: v2.7.4-2474-gb4a58380
|
||||
appVersion: v2.7.4-2479-g86a32237
|
||||
description: Network UPS Tools is a collection of programs which provide a common interface for monitoring and administering UPS, PDU and SCD hardware.
|
||||
name: network-ups-tools
|
||||
version: 5.0.0
|
||||
version: 5.1.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- nut
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# network-ups-tools
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Network UPS Tools is a collection of programs which provide a common interface for monitoring and administering UPS, PDU and SCD hardware.
|
||||
|
||||
@@ -79,10 +79,23 @@ N/A
|
||||
| config.mode | string | `"values"` | If set to 'values', the configuration will be read from these values. Otherwise you have to mount a volume to /etc/nut containing the configuration files. |
|
||||
| env | object | See below | environment variables. |
|
||||
| env.TZ | string | `"UTC"` | Set the container timezone |
|
||||
| exporter.enabled | bool | See values.yaml | Enable and configure prometheus-nut-exporter sidecar and Prometheus serviceMonitor. |
|
||||
| exporter.env.logLevel | string | `"info"` | log level [info|debug|trace] |
|
||||
| exporter.env.port | int | `9995` | metrics port |
|
||||
| exporter.image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| exporter.image.repository | string | `"hon95/prometheus-nut-exporter"` | image repository |
|
||||
| exporter.image.tag | string | `"1.1.1"` | image tag |
|
||||
| exporter.serviceMonitor.interval | string | `"30s"` | |
|
||||
| exporter.serviceMonitor.labels | object | `{}` | |
|
||||
| exporter.serviceMonitor.scrapeTimeout | string | `"10s"` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| image.repository | string | `"ghcr.io/k8s-at-home/network-ups-tools"` | image repository |
|
||||
| image.tag | string | `"v2.7.4-2474-gb4a58380"` | image tag |
|
||||
| image.tag | string | `"v2.7.4-2479-g86a32237"` | image tag |
|
||||
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
|
||||
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
|
||||
| persistence.ups.hostPath | string | `"/dev/bus/usb/001/001"` | The path of the usb ups on the host. |
|
||||
| persistence.ups.mountPath | string | `"/dev/bus/usb/001/001"` | Optional path for ups to mount in the container. |
|
||||
| securityContext | object | See values.yaml | Set to true if using ups connected by usb to the host |
|
||||
| service | object | See values.yaml | Configures service settings for the chart. |
|
||||
|
||||
## Changelog
|
||||
@@ -91,6 +104,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [5.1.0]
|
||||
|
||||
### Added
|
||||
|
||||
- Added podMonitor and the ability to use [prometheus-nut-exporter](https://github.com/HON95/prometheus-nut-exporter) as a sidecar container.
|
||||
|
||||
### [5.0.0]
|
||||
|
||||
#### Changed
|
||||
@@ -112,6 +131,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- Initial version
|
||||
|
||||
[5.1.0]: #510
|
||||
[5.0.0]: #500
|
||||
[4.0.0]: #400
|
||||
[1.0.0]: #100
|
||||
|
||||
@@ -9,6 +9,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [5.1.0]
|
||||
|
||||
### Added
|
||||
|
||||
- Added podMonitor and the ability to use [prometheus-nut-exporter](https://github.com/HON95/prometheus-nut-exporter) as a sidecar container.
|
||||
|
||||
### [5.0.0]
|
||||
|
||||
#### Changed
|
||||
@@ -30,6 +36,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- Initial version
|
||||
|
||||
[5.1.0]: #510
|
||||
[5.0.0]: #500
|
||||
[4.0.0]: #400
|
||||
[1.0.0]: #100
|
||||
|
||||
@@ -14,10 +14,35 @@ persistence:
|
||||
name: {{ printf "%v-config" (include "common.names.fullname" .) }}
|
||||
defaultMode: 256
|
||||
optional: true
|
||||
|
||||
{{ if .Values.exporter.enabled }}
|
||||
additionalContainers:
|
||||
exporter:
|
||||
name: exporter
|
||||
image: "{{ .Values.exporter.image.repository }}:{{ .Values.exporter.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.exporter.image.pullPolicy }}
|
||||
env:
|
||||
- name: HTTP_PORT
|
||||
value: "{{ .Values.exporter.env.port }}"
|
||||
- name: HTTP_PATH
|
||||
value: "/metrics"
|
||||
- name: RUST_LOG
|
||||
value: "{{ .Values.exporter.env.logLevel }}"
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: {{ .Values.exporter.env.port }}
|
||||
|
||||
service:
|
||||
metrics:
|
||||
enabled: true
|
||||
ports:
|
||||
metrics:
|
||||
enabled: true
|
||||
protocol: TCP
|
||||
port: {{ .Values.exporter.env.port }}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
{{- if eq .Values.config.mode "values" -}}
|
||||
{{- $_ := mergeOverwrite .Values (include "network-ups-tools.harcodedValues" . | fromYaml) -}}
|
||||
{{- end -}}
|
||||
{{- $_ := mergeOverwrite .Values (include "network-ups-tools.harcodedValues" . | fromYaml) -}}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
{{- if .Values.exporter.enabled }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ template "common.names.fullname" . }}
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
{{- with .Values.exporter.serviceMonitor.labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "common.labels.selectorLabels" . | nindent 6 }}
|
||||
endpoints:
|
||||
- port: metrics
|
||||
{{- with .Values.exporter.serviceMonitor.interval }}
|
||||
interval: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.exporter.serviceMonitor.scrapeTimeout }}
|
||||
scrapeTimeout: {{ . }}
|
||||
{{- end }}
|
||||
path: /metrics
|
||||
params:
|
||||
target:
|
||||
- "localhost:{{ .Values.service.main.ports.server.port }}"
|
||||
relabelings:
|
||||
- sourceLabels: [__param_target]
|
||||
targetLabel: target
|
||||
{{- end }}
|
||||
@@ -9,7 +9,7 @@ image:
|
||||
# -- image repository
|
||||
repository: ghcr.io/k8s-at-home/network-ups-tools
|
||||
# -- image tag
|
||||
tag: v2.7.4-2474-gb4a58380
|
||||
tag: v2.7.4-2479-g86a32237
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
@@ -37,6 +37,23 @@ ingress:
|
||||
main:
|
||||
enabled: false
|
||||
|
||||
# -- Configure persistence settings for the chart under this key.
|
||||
# @default -- See values.yaml
|
||||
persistence:
|
||||
ups:
|
||||
enabled: false
|
||||
type: hostPath
|
||||
# -- The path of the usb ups on the host.
|
||||
hostPath: /dev/bus/usb/001/001
|
||||
# -- Optional path for ups to mount in the container.
|
||||
mountPath: /dev/bus/usb/001/001
|
||||
readOnly: false
|
||||
|
||||
# -- Set to true if using ups connected by usb to the host
|
||||
# @default -- See values.yaml
|
||||
securityContext:
|
||||
privileged: false
|
||||
|
||||
config:
|
||||
# -- If set to 'values', the configuration will be read from these values.
|
||||
# Otherwise you have to mount a volume to /etc/nut containing the configuration files.
|
||||
@@ -56,3 +73,24 @@ config:
|
||||
driver = dummy-ups
|
||||
port = dummy-ups.dev
|
||||
desc = "dummy-ups in dummy mode"
|
||||
|
||||
exporter:
|
||||
# -- Enable and configure prometheus-nut-exporter sidecar and Prometheus serviceMonitor.
|
||||
# @default -- See values.yaml
|
||||
enabled: false
|
||||
serviceMonitor:
|
||||
interval: 30s
|
||||
scrapeTimeout: 10s
|
||||
labels: {}
|
||||
image:
|
||||
# -- image repository
|
||||
repository: hon95/prometheus-nut-exporter
|
||||
# -- image tag
|
||||
tag: 1.1.1
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
# -- metrics port
|
||||
port: 9995
|
||||
# -- log level [info|debug|trace]
|
||||
logLevel: info
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: latest
|
||||
description: Discord bot that provides metrics from a Discord server
|
||||
name: promcord
|
||||
version: 3.0.0
|
||||
version: 4.0.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- promcord
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# promcord
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Discord bot that provides metrics from a Discord server
|
||||
|
||||
@@ -80,7 +80,7 @@ N/A
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| image.repository | string | `"biospheere/promcord"` | image repository |
|
||||
| image.tag | string | `"latest"` | image tag |
|
||||
| prometheus.podMonitor | object | See values.yaml | Enable and configure a Prometheus podMonitor for the chart under this key. |
|
||||
| prometheus.serviceMonitor | object | See values.yaml | Enable and configure a Prometheus podMonitor for the chart under this key. |
|
||||
| service | object | See values.yaml | Configures service settings for the chart. |
|
||||
|
||||
## Changelog
|
||||
@@ -89,6 +89,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [4.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Switched to serviceMonitor instead of podMonitor. This is a potential breaking change.
|
||||
|
||||
### [2.0.0]
|
||||
|
||||
#### Changed
|
||||
@@ -107,6 +113,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- New chart
|
||||
|
||||
[4.0.0]: #400
|
||||
[2.0.0]: #200
|
||||
[1.0.1]: #101
|
||||
[1.0.0]: #100
|
||||
|
||||
@@ -9,6 +9,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [4.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Switched to serviceMonitor instead of podMonitor. This is a potential breaking change.
|
||||
|
||||
### [2.0.0]
|
||||
|
||||
#### Changed
|
||||
@@ -27,6 +33,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- New chart
|
||||
|
||||
[4.0.0]: #400
|
||||
[2.0.0]: #200
|
||||
[1.0.1]: #101
|
||||
[1.0.0]: #100
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
{{- if .Values.prometheus.podMonitor.enabled }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PodMonitor
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
{{- with .Values.prometheus.podMonitor.additionalLabels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "common.labels.selectorLabels" . | nindent 6 }}
|
||||
podMetricsEndpoints:
|
||||
- port: http
|
||||
{{- with .Values.prometheus.podMonitor.interval }}
|
||||
interval: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.prometheus.podMonitor.scrapeTimeout }}
|
||||
scrapeTimeout: {{ . }}
|
||||
{{- end }}
|
||||
path: /metrics
|
||||
{{- end }}
|
||||
24
charts/stable/promcord/templates/servicemonitor.yaml
Normal file
24
charts/stable/promcord/templates/servicemonitor.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
{{- if .Values.prometheus.serviceMonitor.enabled }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
{{- with .Values.prometheus.serviceMonitor.additionalLabels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "common.labels.selectorLabels" . | nindent 6 }}
|
||||
endpoints:
|
||||
- port: metrics
|
||||
{{- with .Values.prometheus.serviceMonitor.interval }}
|
||||
interval: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.prometheus.serviceMonitor.scrapeTimeout }}
|
||||
scrapeTimeout: {{ . }}
|
||||
{{- end }}
|
||||
path: /metrics
|
||||
{{- end }}
|
||||
@@ -19,6 +19,10 @@ service:
|
||||
main:
|
||||
ports:
|
||||
http:
|
||||
enabled: false
|
||||
metrics:
|
||||
enabled: true
|
||||
protocol: TCP
|
||||
port: 8080
|
||||
|
||||
# -- environment variables. See [application docs](https://github.com/nimarion/promcord/blob/master/README.md) for more details.
|
||||
@@ -32,7 +36,7 @@ env:
|
||||
prometheus:
|
||||
# -- Enable and configure a Prometheus podMonitor for the chart under this key.
|
||||
# @default -- See values.yaml
|
||||
podMonitor:
|
||||
serviceMonitor:
|
||||
enabled: false
|
||||
interval: 1m
|
||||
scrapeTimeout: 30s
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: 1.1.1
|
||||
description: Prometheus NUT Exporter a service monitor to send NUT server metrics to a Prometheus instance.
|
||||
name: prometheus-nut-exporter
|
||||
version: 4.0.0
|
||||
version: 4.1.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- nut
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# prometheus-nut-exporter
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Prometheus NUT Exporter a service monitor to send NUT server metrics to a Prometheus instance.
|
||||
|
||||
@@ -76,6 +76,7 @@ N/A
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| env | object | See below | environment variables. See [application docs](https://github.com/HON95/prometheus-nut-exporter#environment-variables) for more details. |
|
||||
| env.RUST_LOG | string | `"info"` | log level [info|debug|trace] |
|
||||
| env.TZ | string | `"UTC"` | Set the container timezone |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| image.repository | string | `"hon95/prometheus-nut-exporter"` | image repository |
|
||||
|
||||
@@ -1 +1,13 @@
|
||||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
|
||||
{{/* Append the hardcoded settings */}}
|
||||
{{- define "prometheus-nut-exporter.harcodedValues" -}}
|
||||
env:
|
||||
HTTP_PATH: "/metrics"
|
||||
HTTP_PORT: "{{ .Values.service.main.ports.metrics.port }}"
|
||||
{{- end -}}
|
||||
{{- $_ := mergeOverwrite .Values (include "prometheus-nut-exporter.harcodedValues" . | fromYaml) -}}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
|
||||
@@ -14,10 +14,10 @@ spec:
|
||||
{{- include "common.labels.selectorLabels" . | nindent 6 }}
|
||||
endpoints:
|
||||
{{- range .Values.prometheus.serviceMonitor.targets }}
|
||||
- port: http
|
||||
- port: metrics
|
||||
interval: {{ .interval }}
|
||||
scrapeTimeout: {{ .scrapeTimeout }}
|
||||
path: /nut
|
||||
path: /metrics
|
||||
params:
|
||||
target:
|
||||
- "{{ .hostname }}:{{ .port }}"
|
||||
|
||||
@@ -18,6 +18,8 @@ image:
|
||||
env:
|
||||
# -- Set the container timezone
|
||||
TZ: UTC
|
||||
# -- log level [info|debug|trace]
|
||||
RUST_LOG: info
|
||||
|
||||
# -- Configures service settings for the chart.
|
||||
# @default -- See values.yaml
|
||||
@@ -25,6 +27,10 @@ service:
|
||||
main:
|
||||
ports:
|
||||
http:
|
||||
enabled: false
|
||||
metrics:
|
||||
enabled: true
|
||||
protocol: TCP
|
||||
port: 9995
|
||||
|
||||
prometheus:
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
appVersion: v4.3.5
|
||||
appVersion: v4.3.7
|
||||
description: qBittorrent is a cross-platform free and open-source BitTorrent client
|
||||
name: qbittorrent
|
||||
version: 12.0.0
|
||||
version: 12.2.1
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- qbittorrent
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# qbittorrent
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
qBittorrent is a cross-platform free and open-source BitTorrent client
|
||||
|
||||
@@ -78,9 +78,20 @@ N/A
|
||||
|-----|------|---------|-------------|
|
||||
| env | object | See below | environment variables. See [image docs](https://docs.k8s-at-home.com/our-container-images/configuration/) for more details. |
|
||||
| env.TZ | string | `"UTC"` | Set the container timezone |
|
||||
| exporter.enabled | bool | See values.yaml | Enable and configure prometheus-qbittorrent-exporter sidecar and Prometheus podMonitor. |
|
||||
| exporter.env.logLevel | string | `"INFO"` | log level [DEBUG|INFO|WARNING|ERROR|CRITICAL] |
|
||||
| exporter.env.password | string | `"adminadmin"` | qbittorrent password update value after configuring qbittorrent |
|
||||
| exporter.env.port | int | `9022` | metrics port |
|
||||
| exporter.env.user | string | `"admin"` | qbittorrent username update value after configuring qbittorrent |
|
||||
| exporter.image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| exporter.image.repository | string | `"ghcr.io/k8s-at-home/prometheus-qbittorrent-exporter"` | image repository |
|
||||
| exporter.image.tag | string | `"v1.2.0"` | image tag |
|
||||
| exporter.serviceMonitor.interval | string | `"15s"` | |
|
||||
| exporter.serviceMonitor.labels | object | `{}` | |
|
||||
| exporter.serviceMonitor.scrapeTimeout | string | `"5s"` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| image.repository | string | `"ghcr.io/k8s-at-home/qbittorrent"` | image repository |
|
||||
| image.tag | string | `"v4.3.5"` | image tag |
|
||||
| image.tag | string | `"v4.3.7"` | image tag |
|
||||
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
|
||||
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
|
||||
| service | object | See values.yaml | Configures service settings for the chart. |
|
||||
@@ -92,6 +103,18 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [12.2.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Switched to serviceMonitor instead of podMonitor. This would revert scrape intervals and timeouts if changed from default.
|
||||
|
||||
### [12.1.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- Added podMonitor and the ability to use [prometheus-qbittorrent-exporter](https://github.com/esanchezm/prometheus-qbittorrent-exporter) as a sidecar container.
|
||||
|
||||
### [12.0.0]
|
||||
|
||||
#### Changed
|
||||
@@ -119,6 +142,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- Initial version
|
||||
|
||||
[12.2.0]: #1220
|
||||
[12.1.0]: #1210
|
||||
[12.0.0]: #1200
|
||||
[11.0.0]: #1100
|
||||
[10.0.0]: #1000
|
||||
|
||||
@@ -9,6 +9,18 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [12.2.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Switched to serviceMonitor instead of podMonitor. This would revert scrape intervals and timeouts if changed from default.
|
||||
|
||||
### [12.1.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- Added podMonitor and the ability to use [prometheus-qbittorrent-exporter](https://github.com/esanchezm/prometheus-qbittorrent-exporter) as a sidecar container.
|
||||
|
||||
### [12.0.0]
|
||||
|
||||
#### Changed
|
||||
@@ -36,6 +48,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- Initial version
|
||||
|
||||
[12.2.0]: #1220
|
||||
[12.1.0]: #1210
|
||||
[12.0.0]: #1200
|
||||
[11.0.0]: #1100
|
||||
[10.0.0]: #1000
|
||||
|
||||
@@ -1,19 +1,54 @@
|
||||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
|
||||
{{/* Append the configMap volume to the volumes */}}
|
||||
{{- define "qbittorrent.configmapVolume" -}}
|
||||
enabled: "true"
|
||||
mountPath: "/config/custom-cont-init.d"
|
||||
type: "custom"
|
||||
volumeSpec:
|
||||
configMap:
|
||||
name: {{ include "common.names.fullname" . }}-scripts
|
||||
defaultMode: 511
|
||||
{{- end -}}
|
||||
{{- if and .Values.settings.automaticPortSetup -}}
|
||||
{{- $_ := set .Values.persistence "qbittorrent-scripts" (include "qbittorrent.configmapVolume" . | fromYaml) -}}
|
||||
{{/* Append the hardcoded settings */}}
|
||||
{{- define "qbittorrent.harcodedValues" -}}
|
||||
{{ if and .Values.settings.automaticPortSetup }}
|
||||
persistence:
|
||||
qbittorrent-scripts:
|
||||
enabled: "true"
|
||||
mountPath: "/config/custom-cont-init.d"
|
||||
type: "custom"
|
||||
volumeSpec:
|
||||
configMap:
|
||||
name: {{ include "common.names.fullname" . }}-scripts
|
||||
defaultMode: 511
|
||||
{{ end }}
|
||||
|
||||
{{ if .Values.exporter.enabled }}
|
||||
additionalContainers:
|
||||
exporter:
|
||||
name: exporter
|
||||
image: "{{ .Values.exporter.image.repository }}:{{ .Values.exporter.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.exporter.image.pullPolicy }}
|
||||
env:
|
||||
- name: QBITTORRENT_HOST
|
||||
value: "http://localhost"
|
||||
- name: QBITTORRENT_PORT
|
||||
value: "{{ .Values.service.main.ports.http.port }}"
|
||||
- name: QBITTORRENT_USER
|
||||
value: "{{ .Values.exporter.env.user }}"
|
||||
- name: QBITTORRENT_PASS
|
||||
value: "{{ .Values.exporter.env.password }}"
|
||||
- name: EXPORTER_PORT
|
||||
value: "{{ .Values.exporter.env.port }}"
|
||||
- name: EXPORTER_LOG_LEVEL
|
||||
value: "{{ .Values.exporter.env.logLevel }}"
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: {{ .Values.exporter.env.port }}
|
||||
|
||||
service:
|
||||
metrics:
|
||||
enabled: true
|
||||
ports:
|
||||
metrics:
|
||||
enabled: true
|
||||
protocol: TCP
|
||||
port: {{ .Values.exporter.env.port }}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
{{- $_ := mergeOverwrite .Values (include "qbittorrent.harcodedValues" . | fromYaml) -}}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
|
||||
24
charts/stable/qbittorrent/templates/servicemonitor.yaml
Normal file
24
charts/stable/qbittorrent/templates/servicemonitor.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
{{- if .Values.exporter.enabled }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
{{- with .Values.exporter.serviceMonitor.labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "common.labels.selectorLabels" . | nindent 6 }}
|
||||
endpoints:
|
||||
- port: metrics
|
||||
{{- with .Values.exporter.serviceMonitor.interval }}
|
||||
interval: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.exporter.serviceMonitor.scrapeTimeout }}
|
||||
scrapeTimeout: {{ . }}
|
||||
{{- end }}
|
||||
path: /metrics
|
||||
{{- end }}
|
||||
@@ -9,7 +9,7 @@ image:
|
||||
# -- image repository
|
||||
repository: ghcr.io/k8s-at-home/qbittorrent
|
||||
# -- image tag
|
||||
tag: v4.3.5
|
||||
tag: v4.3.7
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
@@ -60,3 +60,30 @@ persistence:
|
||||
downloads:
|
||||
enabled: false
|
||||
mountPath: /downloads
|
||||
|
||||
exporter:
|
||||
# -- Enable and configure prometheus-qbittorrent-exporter sidecar and Prometheus podMonitor.
|
||||
# @default -- See values.yaml
|
||||
enabled: false
|
||||
serviceMonitor:
|
||||
interval: 15s
|
||||
scrapeTimeout: 5s
|
||||
labels: {}
|
||||
image:
|
||||
# -- image repository
|
||||
repository: ghcr.io/k8s-at-home/prometheus-qbittorrent-exporter
|
||||
# -- image tag
|
||||
tag: v1.2.0
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
# -- qbittorrent username
|
||||
# update value after configuring qbittorrent
|
||||
user: "admin"
|
||||
# -- qbittorrent password
|
||||
# update value after configuring qbittorrent
|
||||
password: "adminadmin"
|
||||
# -- metrics port
|
||||
port: 9022
|
||||
# -- log level [DEBUG|INFO|WARNING|ERROR|CRITICAL]
|
||||
logLevel: INFO
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: v3.2.2.5080
|
||||
description: A fork of Sonarr to work with movies à la Couchpotato
|
||||
name: radarr
|
||||
version: 13.0.0
|
||||
version: 14.0.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- radarr
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# radarr
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
A fork of Sonarr to work with movies à la Couchpotato
|
||||
|
||||
@@ -78,13 +78,22 @@ N/A
|
||||
|-----|------|---------|-------------|
|
||||
| env | object | See below | environment variables. |
|
||||
| env.TZ | string | `"UTC"` | Set the container timezone |
|
||||
| exporter.enabled | bool | See values.yaml | Enable and configure Exportarr sidecar and Prometheus podMonitor. |
|
||||
| exporter.env.additionalMetrics | bool | `false` | Set to true to enable gathering of additional metrics (slow) |
|
||||
| exporter.env.port | int | `32123` | metrics port |
|
||||
| exporter.env.unknownQueueItems | bool | `false` | Set to true to enable gathering unknown queue items |
|
||||
| exporter.image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| exporter.image.repository | string | `"ghcr.io/onedr0p/exportarr"` | image repository |
|
||||
| exporter.image.tag | string | `"v0.6.1"` | image tag |
|
||||
| exporter.podMonitor.interval | string | `"3m"` | |
|
||||
| exporter.podMonitor.labels | object | `{}` | |
|
||||
| exporter.podMonitor.scrapeTimeout | string | `"1m"` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| image.repository | string | `"ghcr.io/k8s-at-home/radarr"` | image repository |
|
||||
| image.tag | string | `"v3.2.2.5080"` | image tag |
|
||||
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
|
||||
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
|
||||
| probes | object | See values.yaml | Configures the probes for the main Pod. |
|
||||
| prometheus.podMonitor | object | See values.yaml | Enable and configure a Prometheus podMonitor for the chart under this key. See also the notes under `additionalContainers`. |
|
||||
| service | object | See values.yaml | Configures service settings for the chart. |
|
||||
|
||||
## Changelog
|
||||
@@ -93,6 +102,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [14.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Refactoring of the Exportarr sidecar and Prometheus podMonitor. This is a breaking change if it was enabled previously.
|
||||
|
||||
### [13.0.0]
|
||||
|
||||
#### Changed
|
||||
@@ -119,6 +134,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- Initial version
|
||||
|
||||
[14.0.0]: #1400
|
||||
[13.0.0]: #1300
|
||||
[12.0.0]: #1200
|
||||
[11.0.0]: #1100
|
||||
|
||||
@@ -9,6 +9,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [14.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Refactoring of the Exportarr sidecar and Prometheus podMonitor. This is a breaking change if it was enabled previously.
|
||||
|
||||
### [13.0.0]
|
||||
|
||||
#### Changed
|
||||
@@ -35,6 +41,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- Initial version
|
||||
|
||||
[14.0.0]: #1400
|
||||
[13.0.0]: #1300
|
||||
[12.0.0]: #1200
|
||||
[11.0.0]: #1100
|
||||
|
||||
@@ -7,7 +7,7 @@ persistence:
|
||||
additionalContainers:
|
||||
exportarr:
|
||||
name: exportarr
|
||||
image: ghcr.io/onedr0p/exportarr:v0.6.0
|
||||
image: ghcr.io/onedr0p/exportarr:v0.6.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
args: ["exportarr", "radarr"]
|
||||
env:
|
||||
|
||||
@@ -1 +1,38 @@
|
||||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
|
||||
{{/* Append the hardcoded settings */}}
|
||||
{{- define "radarr.harcodedValues" -}}
|
||||
{{ if .Values.exporter.enabled }}
|
||||
additionalContainers:
|
||||
exporter:
|
||||
name: exporter
|
||||
image: "{{ .Values.exporter.image.repository }}:{{ .Values.exporter.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.exporter.image.pullPolicy }}
|
||||
args: ["exportarr", "radarr"]
|
||||
env:
|
||||
- name: URL
|
||||
value: "http://localhost"
|
||||
- name: CONFIG
|
||||
value: "/config/config.xml"
|
||||
- name: PORT
|
||||
value: "{{ .Values.exporter.env.port }}"
|
||||
- name: ENABLE_ADDITIONAL_METRICS
|
||||
value: "{{ .Values.exporter.env.additionalMetrics }}"
|
||||
- name: ENABLE_UNKNOWN_QUEUE_ITEMS
|
||||
value: "{{ .Values.exporter.env.unknownQueueItems }}"
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: {{ .Values.exporter.env.port }}
|
||||
volumeMounts:
|
||||
{{ if .Values.persistence.config.enabled }}
|
||||
- name: config
|
||||
mountPath: /config
|
||||
readOnly: true
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
{{- $_ := mergeOverwrite .Values (include "radarr.harcodedValues" . | fromYaml) -}}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{{- if .Values.prometheus.podMonitor.enabled }}
|
||||
{{- if .Values.exporter.enabled }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PodMonitor
|
||||
metadata:
|
||||
name: {{ template "common.names.fullname" . }}
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
{{- with .Values.prometheus.podMonitor.additionalLabels }}
|
||||
{{- with .Values.exporter.podMonitor.labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
@@ -13,12 +13,17 @@ spec:
|
||||
matchLabels:
|
||||
{{- include "common.labels.selectorLabels" . | nindent 6 }}
|
||||
podMetricsEndpoints:
|
||||
- port: exportarr
|
||||
{{- with .Values.prometheus.podMonitor.interval }}
|
||||
interval: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.prometheus.podMonitor.scrapeTimeout }}
|
||||
scrapeTimeout: {{ . }}
|
||||
{{- end }}
|
||||
path: /metrics
|
||||
- port: metrics
|
||||
{{- with .Values.exporter.podMonitor.interval }}
|
||||
interval: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.exporter.podMonitor.scrapeTimeout }}
|
||||
scrapeTimeout: {{ . }}
|
||||
{{- end }}
|
||||
path: /metrics
|
||||
relabelings:
|
||||
- sourceLabels: ['namespace', 'job']
|
||||
regex: ".+/(.*)"
|
||||
targetLabel: "job"
|
||||
replacement: "$1"
|
||||
{{- end }}
|
||||
|
||||
@@ -66,35 +66,25 @@ persistence:
|
||||
enabled: false
|
||||
mountPath: /media
|
||||
|
||||
prometheus:
|
||||
# -- Enable and configure a Prometheus podMonitor for the chart under this key.
|
||||
# See also the notes under `additionalContainers`.
|
||||
exporter:
|
||||
# -- Enable and configure Exportarr sidecar and Prometheus podMonitor.
|
||||
# @default -- See values.yaml
|
||||
enabled: false
|
||||
podMonitor:
|
||||
enabled: false
|
||||
interval: 3m
|
||||
scrapeTimeout: 1m
|
||||
additionalLabels: {}
|
||||
|
||||
# # When using the prometheus.podMonitor the following
|
||||
# # container is required
|
||||
# additionalContainers:
|
||||
# exportarr:
|
||||
# name: exportarr
|
||||
# image: ghcr.io/onedr0p/exportarr:v0.6.0
|
||||
# imagePullPolicy: IfNotPresent
|
||||
# args: ["exportarr", "radarr"]
|
||||
# env:
|
||||
# - name: PORT
|
||||
# value: "32123"
|
||||
# - name: URL
|
||||
# value: "http://localhost"
|
||||
# - name: CONFIG
|
||||
# value: "/config/config.xml"
|
||||
# ports:
|
||||
# - name: exportarr
|
||||
# containerPort: 32123
|
||||
# volumeMounts:
|
||||
# - name: config
|
||||
# mountPath: /config
|
||||
# readOnly: true
|
||||
labels: {}
|
||||
image:
|
||||
# -- image repository
|
||||
repository: ghcr.io/onedr0p/exportarr
|
||||
# -- image tag
|
||||
tag: v0.6.1
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
# -- metrics port
|
||||
port: 32123
|
||||
# -- Set to true to enable gathering of additional metrics (slow)
|
||||
additionalMetrics: false
|
||||
# -- Set to true to enable gathering unknown queue items
|
||||
unknownQueueItems: false
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
appVersion: v3.0.6.1196
|
||||
appVersion: v3.0.6.1265
|
||||
description: Smart PVR for newsgroup and bittorrent users
|
||||
name: sonarr
|
||||
version: 13.0.0
|
||||
version: 14.0.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- sonarr
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# sonarr
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Smart PVR for newsgroup and bittorrent users
|
||||
|
||||
@@ -78,13 +78,22 @@ N/A
|
||||
|-----|------|---------|-------------|
|
||||
| env | object | See below | environment variables. |
|
||||
| env.TZ | string | `"UTC"` | Set the container timezone |
|
||||
| exporter.enabled | bool | See values.yaml | Enable and configure Exportarr sidecar and Prometheus podMonitor. |
|
||||
| exporter.env.additionalMetrics | bool | `false` | Set to true to enable gathering of additional metrics (slow) |
|
||||
| exporter.env.port | int | `32123` | metrics port |
|
||||
| exporter.env.unknownQueueItems | bool | `false` | Set to true to enable gathering unknown queue items |
|
||||
| exporter.image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| exporter.image.repository | string | `"ghcr.io/onedr0p/exportarr"` | image repository |
|
||||
| exporter.image.tag | string | `"v0.6.1"` | image tag |
|
||||
| exporter.podMonitor.interval | string | `"3m"` | |
|
||||
| exporter.podMonitor.labels | object | `{}` | |
|
||||
| exporter.podMonitor.scrapeTimeout | string | `"1m"` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| image.repository | string | `"ghcr.io/k8s-at-home/sonarr"` | image repository |
|
||||
| image.tag | string | `"v3.0.6.1196"` | image tag |
|
||||
| image.tag | string | `"v3.0.6.1265"` | image tag |
|
||||
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
|
||||
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
|
||||
| probes | object | See values.yaml | Configures the probes for the main Pod. |
|
||||
| prometheus.podMonitor | object | See values.yaml | Enable and configure a Prometheus podMonitor for the chart under this key. See also the notes under `additionalContainers`. |
|
||||
| service | object | See values.yaml | Configures service settings for the chart. |
|
||||
|
||||
## Changelog
|
||||
@@ -93,6 +102,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [14.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Refactoring of the Exportarr sidecar and Prometheus podMonitor. This is a breaking change if it was enabled previously.
|
||||
|
||||
### [13.0.0]
|
||||
|
||||
#### Changed
|
||||
@@ -118,6 +133,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- Initial version
|
||||
|
||||
[14.0.0]: #1400
|
||||
[13.0.0]: #1300
|
||||
[12.0.0]: #1200
|
||||
[11.0.0]: #1100
|
||||
|
||||
@@ -9,6 +9,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [14.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Refactoring of the Exportarr sidecar and Prometheus podMonitor. This is a breaking change if it was enabled previously.
|
||||
|
||||
### [13.0.0]
|
||||
|
||||
#### Changed
|
||||
@@ -34,6 +40,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- Initial version
|
||||
|
||||
[14.0.0]: #1400
|
||||
[13.0.0]: #1300
|
||||
[12.0.0]: #1200
|
||||
[11.0.0]: #1100
|
||||
|
||||
@@ -7,7 +7,7 @@ persistence:
|
||||
additionalContainers:
|
||||
exportarr:
|
||||
name: exportarr
|
||||
image: ghcr.io/onedr0p/exportarr:v0.6.0
|
||||
image: ghcr.io/onedr0p/exportarr:v0.6.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
args: ["exportarr", "sonarr"]
|
||||
env:
|
||||
|
||||
@@ -1 +1,38 @@
|
||||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
|
||||
{{/* Append the hardcoded settings */}}
|
||||
{{- define "sonarr.harcodedValues" -}}
|
||||
{{ if .Values.exporter.enabled }}
|
||||
additionalContainers:
|
||||
exporter:
|
||||
name: exporter
|
||||
image: "{{ .Values.exporter.image.repository }}:{{ .Values.exporter.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.exporter.image.pullPolicy }}
|
||||
args: ["exportarr", "sonarr"]
|
||||
env:
|
||||
- name: URL
|
||||
value: "http://localhost"
|
||||
- name: CONFIG
|
||||
value: "/config/config.xml"
|
||||
- name: PORT
|
||||
value: "{{ .Values.exporter.env.port }}"
|
||||
- name: ENABLE_ADDITIONAL_METRICS
|
||||
value: "{{ .Values.exporter.env.additionalMetrics }}"
|
||||
- name: ENABLE_UNKNOWN_QUEUE_ITEMS
|
||||
value: "{{ .Values.exporter.env.unknownQueueItems }}"
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: {{ .Values.exporter.env.port }}
|
||||
volumeMounts:
|
||||
{{ if .Values.persistence.config.enabled }}
|
||||
- name: config
|
||||
mountPath: /config
|
||||
readOnly: true
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
{{- $_ := mergeOverwrite .Values (include "sonarr.harcodedValues" . | fromYaml) -}}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{{- if .Values.prometheus.podMonitor.enabled }}
|
||||
{{- if .Values.exporter.enabled }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PodMonitor
|
||||
metadata:
|
||||
name: {{ template "common.names.fullname" . }}
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
{{- with .Values.prometheus.podMonitor.additionalLabels }}
|
||||
{{- with .Values.exporter.podMonitor.labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
@@ -13,12 +13,17 @@ spec:
|
||||
matchLabels:
|
||||
{{- include "common.labels.selectorLabels" . | nindent 6 }}
|
||||
podMetricsEndpoints:
|
||||
- port: exportarr
|
||||
{{- with .Values.prometheus.podMonitor.interval }}
|
||||
interval: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.prometheus.podMonitor.scrapeTimeout }}
|
||||
scrapeTimeout: {{ . }}
|
||||
{{- end }}
|
||||
path: /metrics
|
||||
- port: metrics
|
||||
{{- with .Values.exporter.podMonitor.interval }}
|
||||
interval: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.exporter.podMonitor.scrapeTimeout }}
|
||||
scrapeTimeout: {{ . }}
|
||||
{{- end }}
|
||||
path: /metrics
|
||||
relabelings:
|
||||
- sourceLabels: ['namespace', 'job']
|
||||
regex: ".+/(.*)"
|
||||
targetLabel: "job"
|
||||
replacement: "$1"
|
||||
{{- end }}
|
||||
|
||||
@@ -9,7 +9,7 @@ image:
|
||||
# -- image repository
|
||||
repository: ghcr.io/k8s-at-home/sonarr
|
||||
# -- image tag
|
||||
tag: v3.0.6.1196
|
||||
tag: v3.0.6.1265
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
@@ -66,35 +66,25 @@ persistence:
|
||||
enabled: false
|
||||
mountPath: /media
|
||||
|
||||
prometheus:
|
||||
# -- Enable and configure a Prometheus podMonitor for the chart under this key.
|
||||
# See also the notes under `additionalContainers`.
|
||||
exporter:
|
||||
# -- Enable and configure Exportarr sidecar and Prometheus podMonitor.
|
||||
# @default -- See values.yaml
|
||||
enabled: false
|
||||
podMonitor:
|
||||
enabled: false
|
||||
interval: 3m
|
||||
scrapeTimeout: 1m
|
||||
additionalLabels: {}
|
||||
|
||||
# # When using the prometheus.podMonitor the following
|
||||
# # container is required
|
||||
# additionalContainers:
|
||||
# exportarr:
|
||||
# name: exportarr
|
||||
# image: ghcr.io/onedr0p/exportarr:v0.6.0
|
||||
# imagePullPolicy: IfNotPresent
|
||||
# args: ["exportarr", "sonarr"]
|
||||
# env:
|
||||
# - name: PORT
|
||||
# value: "32123"
|
||||
# - name: URL
|
||||
# value: "http://localhost"
|
||||
# - name: CONFIG
|
||||
# value: "/config/config.xml"
|
||||
# ports:
|
||||
# - name: exportarr
|
||||
# containerPort: 32123
|
||||
# volumeMounts:
|
||||
# - name: config
|
||||
# mountPath: /config
|
||||
# readOnly: true
|
||||
labels: {}
|
||||
image:
|
||||
# -- image repository
|
||||
repository: ghcr.io/onedr0p/exportarr
|
||||
# -- image tag
|
||||
tag: v0.6.1
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
# -- metrics port
|
||||
port: 32123
|
||||
# -- Set to true to enable gathering of additional metrics (slow)
|
||||
additionalMetrics: false
|
||||
# -- Set to true to enable gathering unknown queue items
|
||||
unknownQueueItems: false
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: v3.2.2
|
||||
description: Speedtest Exporter made in python using the official speedtest bin
|
||||
name: speedtest-exporter
|
||||
version: 3.0.0
|
||||
version: 4.0.1
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- speedtest-exporter
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# speedtest-exporter
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Speedtest Exporter made in python using the official speedtest bin
|
||||
|
||||
@@ -80,7 +80,7 @@ N/A
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| image.repository | string | `"ghcr.io/miguelndecarvalho/speedtest-exporter"` | image repository |
|
||||
| image.tag | string | `"v3.2.2"` | image tag |
|
||||
| prometheus.podMonitor | object | See values.yaml | Enable and configure a Prometheus podMonitor for the chart under this key. See also the notes under `additionalContainers`. |
|
||||
| prometheus.serviceMonitor | object | See values.yaml | Enable and configure a Prometheus serviceMonitor for the chart under this key. |
|
||||
| service | object | See values.yaml | Configures service settings for the chart. |
|
||||
|
||||
## Changelog
|
||||
@@ -89,6 +89,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [4.0.0]
|
||||
|
||||
##### Changed
|
||||
|
||||
- Move from podMonitor to serviceMonitor since this has a service to connect to. Potential breaking change.
|
||||
|
||||
### [3.0.0]
|
||||
|
||||
#### Changed
|
||||
@@ -117,6 +123,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- N/A
|
||||
|
||||
[4.0.0]: #400
|
||||
[3.0.0]: #300
|
||||
[2.0.0]: #200
|
||||
[1.0.0]: #100
|
||||
|
||||
@@ -9,6 +9,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [4.0.0]
|
||||
|
||||
##### Changed
|
||||
|
||||
- Move from podMonitor to serviceMonitor since this has a service to connect to. Potential breaking change.
|
||||
|
||||
### [3.0.0]
|
||||
|
||||
#### Changed
|
||||
@@ -37,6 +43,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- N/A
|
||||
|
||||
[4.0.0]: #400
|
||||
[3.0.0]: #300
|
||||
[2.0.0]: #200
|
||||
[1.0.0]: #100
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
{{- if .Values.prometheus.podMonitor.enabled }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PodMonitor
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
{{- with .Values.prometheus.podMonitor.additionalLabels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "common.labels.selectorLabels" . | nindent 6 }}
|
||||
podMetricsEndpoints:
|
||||
- port: http
|
||||
{{- with .Values.prometheus.podMonitor.interval }}
|
||||
interval: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.prometheus.podMonitor.scrapeTimeout }}
|
||||
scrapeTimeout: {{ . }}
|
||||
{{- end }}
|
||||
path: /metrics
|
||||
{{- end }}
|
||||
@@ -0,0 +1,24 @@
|
||||
{{- if .Values.prometheus.serviceMonitor.enabled }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
{{- with .Values.prometheus.serviceMonitor.additionalLabels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "common.labels.selectorLabels" . | nindent 6 }}
|
||||
endpoints:
|
||||
- port: metrics
|
||||
{{- with .Values.prometheus.serviceMonitor.interval }}
|
||||
interval: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.prometheus.serviceMonitor.scrapeTimeout }}
|
||||
scrapeTimeout: {{ . }}
|
||||
{{- end }}
|
||||
path: /metrics
|
||||
{{- end }}
|
||||
@@ -25,13 +25,16 @@ service:
|
||||
main:
|
||||
ports:
|
||||
http:
|
||||
enabled: false
|
||||
metrics:
|
||||
enabled: true
|
||||
protocol: TCP
|
||||
port: 9798
|
||||
|
||||
prometheus:
|
||||
# -- Enable and configure a Prometheus podMonitor for the chart under this key.
|
||||
# See also the notes under `additionalContainers`.
|
||||
# -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
|
||||
# @default -- See values.yaml
|
||||
podMonitor:
|
||||
serviceMonitor:
|
||||
enabled: false
|
||||
interval: 1h
|
||||
scrapeTimeout: 1m
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: v6.2.26
|
||||
description: Ubiquiti Network's Unifi Controller
|
||||
name: unifi
|
||||
version: 4.1.0
|
||||
version: 4.2.0
|
||||
keywords:
|
||||
- ubiquiti
|
||||
- unifi
|
||||
@@ -20,6 +20,6 @@ dependencies:
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
version: 4.0.0
|
||||
- name: mongodb
|
||||
version: 10.24.1
|
||||
version: 10.25.1
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
condition: mongodb.enabled
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# unifi
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Ubiquiti Network's Unifi Controller
|
||||
|
||||
@@ -16,7 +16,7 @@ Ubiquiti Network's Unifi Controller
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://charts.bitnami.com/bitnami | mongodb | 10.24.1 |
|
||||
| https://charts.bitnami.com/bitnami | mongodb | 10.25.1 |
|
||||
| https://library-charts.k8s-at-home.com | common | 4.0.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
26
charts/stable/wmbusmeters/.helmignore
Normal file
26
charts/stable/wmbusmeters/.helmignore
Normal file
@@ -0,0 +1,26 @@
|
||||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
||||
# OWNERS file for Kubernetes
|
||||
OWNERS
|
||||
# helm-docs templates
|
||||
*.gotmpl
|
||||
18
charts/stable/wmbusmeters/Chart.yaml
Normal file
18
charts/stable/wmbusmeters/Chart.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: v2
|
||||
appVersion: 1.4.1
|
||||
description: Wmbusmeters receives and decodes C1,T1 or S1 telegrams (using the wireless mbus protocol) to acquire utility meter readings.
|
||||
name: wmbusmeters
|
||||
version: 1.0.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- wmbusmeters
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/wmbusmeters
|
||||
sources:
|
||||
- https://github.com/weetmuts/wmbusmeters
|
||||
maintainers:
|
||||
- name: brujoand
|
||||
email: anders@brujordet.no
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
version: 4.0.0
|
||||
148
charts/stable/wmbusmeters/README.md
Normal file
148
charts/stable/wmbusmeters/README.md
Normal file
@@ -0,0 +1,148 @@
|
||||
# wmbusmeters
|
||||
|
||||
 
|
||||
|
||||
Wmbusmeters receives and decodes C1,T1 or S1 telegrams (using the wireless mbus protocol) to acquire utility meter readings.
|
||||
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://github.com/weetmuts/wmbusmeters>
|
||||
|
||||
## Requirements
|
||||
|
||||
Kubernetes: `>=1.16.0-0`
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://library-charts.k8s-at-home.com | common | 4.0.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm repo update
|
||||
helm install wmbusmeters k8s-at-home/wmbusmeters
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `wmbusmeters`
|
||||
|
||||
```console
|
||||
helm install wmbusmeters k8s-at-home/wmbusmeters
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `wmbusmeters` deployment
|
||||
|
||||
```console
|
||||
helm uninstall wmbusmeters
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
|
||||
## Configuration
|
||||
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install wmbusmeters \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/wmbusmeters
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install wmbusmeters k8s-at-home/wmbusmeters -f values.yaml
|
||||
```
|
||||
|
||||
## Custom configuration
|
||||
|
||||
**IMPORTANT NOTE:** a rtlsdr device must be accessible on the node where this pod runs, in order for this chart to function properly.
|
||||
|
||||
Wmbusmeters can auto-discover this dongle, but first you need to give the pod extended privileges:
|
||||
|
||||
```
|
||||
securityContext:
|
||||
privileged: true
|
||||
```
|
||||
|
||||
Alternatively you could mount the device directly, if you know what you are doing and can manually configure wmbusmetersto use it:
|
||||
|
||||
```yaml
|
||||
host-dev:
|
||||
enabled: true
|
||||
type: hostPath
|
||||
hostPath: /dev/device1
|
||||
mountPath: /dev/device1
|
||||
```
|
||||
|
||||
Second you will need to set a nodeAffinity rule, for example if you are using [node-feature-discovery](https://github.com/kubernetes-sigs/node-feature-discovery):
|
||||
|
||||
```yaml
|
||||
nodeSelector:
|
||||
feature.node.kubernetes.io/custom-rtl: "true"
|
||||
```
|
||||
|
||||
or by simply labeling the node which has the usb dongle:
|
||||
|
||||
```yaml
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: app
|
||||
operator: In
|
||||
values:
|
||||
- rtlsdr-dongle
|
||||
```
|
||||
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| config | string | `"loglevel=normal\ndevice=rtlwmbus\nlistento=t1\nlogtelegrams=false\nformat=json\nmeterfiles=/wmbusmeters_data/logs/meter_readings\nmeterfilesaction=overwrite\nlogfile=/wmbusmeters_data/logs/wmbusmeters.log\n"` | Set the default config for wmbusmeters, see: https://github.com/weetmuts/wmbusmeters/blob/master/README.md |
|
||||
| env | object | See below | environment variables. |
|
||||
| env.TZ | string | `"UTC"` | Set the container timezone |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| image.repository | string | `"weetmuts/wmbusmeters"` | image repository |
|
||||
| image.tag | string | `"release-1.4.1-amd64"` | image tag |
|
||||
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
|
||||
| securityContext.privileged | bool | `true` | (bool) Privileged securityContext may be required if USB controller is accessed directly through the host machine |
|
||||
| wmbusmeters | list | `[{"config":"name=watermeter\ntype=multical21\nid=1234567\nkey=000000000000000000000000\n","name":"watermeter"}]` | Set the config for individual meters to read, see: https://github.com/weetmuts/wmbusmeters/blob/master/README.md |
|
||||
|
||||
## Changelog
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common#changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [1.0.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- Initial version
|
||||
|
||||
[1.0.0]: #100
|
||||
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
||||
146
charts/stable/wmbusmeters/README.md.gotmpl
Normal file
146
charts/stable/wmbusmeters/README.md.gotmpl
Normal file
@@ -0,0 +1,146 @@
|
||||
{{- define "custom.repository.organization" -}}
|
||||
k8s-at-home
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.repository.url" -}}
|
||||
https://github.com/k8s-at-home/charts
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.url" -}}
|
||||
https://k8s-at-home.com/charts/
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.path" -}}
|
||||
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.notes" -}}
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.requirements" -}}
|
||||
## Requirements
|
||||
|
||||
{{ template "chart.kubeVersionLine" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.dependencies" -}}
|
||||
## Dependencies
|
||||
|
||||
{{ template "chart.requirementsTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install.tldr" -}}
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
|
||||
helm repo update
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install" -}}
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `{{ template "chart.name" . }}`
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.uninstall" -}}
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `{{ template "chart.name" . }}` deployment
|
||||
|
||||
```console
|
||||
helm uninstall {{ template "chart.name" . }}
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.header" -}}
|
||||
## Configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.readValues" -}}
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.set" -}}
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} \
|
||||
--set env.TZ="America/New York" \
|
||||
{{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.file" -}}
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.valuesSection" -}}
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common)
|
||||
|
||||
{{ template "chart.valuesTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.support" -}}
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
{{- end -}}
|
||||
|
||||
{{ template "chart.header" . }}
|
||||
|
||||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
|
||||
|
||||
{{ template "chart.description" . }}
|
||||
|
||||
{{ template "custom.notes" . }}
|
||||
|
||||
{{ template "chart.sourcesSection" . }}
|
||||
|
||||
{{ template "custom.requirements" . }}
|
||||
|
||||
{{ template "custom.dependencies" . }}
|
||||
|
||||
{{ template "custom.install.tldr" . }}
|
||||
|
||||
{{ template "custom.install" . }}
|
||||
|
||||
{{ template "custom.uninstall" . }}
|
||||
|
||||
{{ template "custom.configuration.header" . }}
|
||||
|
||||
{{ template "custom.configuration.readValues" . }}
|
||||
|
||||
{{ template "custom.configuration.example.set" . }}
|
||||
|
||||
{{ template "custom.configuration.example.file" . }}
|
||||
|
||||
{{ template "custom.custom.configuration" . }}
|
||||
|
||||
{{ template "custom.valuesSection" . }}
|
||||
|
||||
{{ template "custom.changelog" . }}
|
||||
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
{{ "" }}
|
||||
19
charts/stable/wmbusmeters/README_CHANGELOG.md.gotmpl
Normal file
19
charts/stable/wmbusmeters/README_CHANGELOG.md.gotmpl
Normal file
@@ -0,0 +1,19 @@
|
||||
{{- define "custom.changelog.header" -}}
|
||||
## Changelog
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.changelog" -}}
|
||||
{{ template "custom.changelog.header" . }}
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common#changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [1.0.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- Initial version
|
||||
|
||||
[1.0.0]: #100
|
||||
{{- end -}}
|
||||
47
charts/stable/wmbusmeters/README_CONFIG.md.gotmpl
Normal file
47
charts/stable/wmbusmeters/README_CONFIG.md.gotmpl
Normal file
@@ -0,0 +1,47 @@
|
||||
{{- define "custom.custom.configuration.header" -}}
|
||||
## Custom configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
**IMPORTANT NOTE:** a rtlsdr device must be accessible on the node where this pod runs, in order for this chart to function properly.
|
||||
|
||||
Wmbusmeters can auto-discover this dongle, but first you need to give the pod extended privileges:
|
||||
|
||||
```
|
||||
securityContext:
|
||||
privileged: true
|
||||
```
|
||||
|
||||
Alternatively you could mount the device directly, if you know what you are doing and can manually configure wmbusmetersto use it:
|
||||
|
||||
```yaml
|
||||
host-dev:
|
||||
enabled: true
|
||||
type: hostPath
|
||||
hostPath: /dev/device1
|
||||
mountPath: /dev/device1
|
||||
```
|
||||
|
||||
Second you will need to set a nodeAffinity rule, for example if you are using [node-feature-discovery](https://github.com/kubernetes-sigs/node-feature-discovery):
|
||||
|
||||
```yaml
|
||||
nodeSelector:
|
||||
feature.node.kubernetes.io/custom-rtl: "true"
|
||||
```
|
||||
|
||||
or by simply labeling the node which has the usb dongle:
|
||||
|
||||
```yaml
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: app
|
||||
operator: In
|
||||
values:
|
||||
- rtlsdr-dongle
|
||||
```
|
||||
{{- end -}}
|
||||
1
charts/stable/wmbusmeters/templates/NOTES.txt
Normal file
1
charts/stable/wmbusmeters/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{- include "common.notes.defaultNotes" . -}}
|
||||
33
charts/stable/wmbusmeters/templates/common.yaml
Normal file
33
charts/stable/wmbusmeters/templates/common.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
|
||||
{{/* Append the hardcoded settings */}}
|
||||
{{- define "wmbusmeters.harcodedValues" -}}
|
||||
|
||||
service:
|
||||
main:
|
||||
enabled: false
|
||||
persistence:
|
||||
wmbusmeters-config:
|
||||
enabled: "true"
|
||||
mountPath: "/wmbusmeters_data/etc/wmbusmeters.conf"
|
||||
subPath: "wmbusmeters.conf"
|
||||
type: "custom"
|
||||
volumeSpec:
|
||||
configMap:
|
||||
name: {{ printf "%v-config" (include "common.names.fullname" .) }}
|
||||
{{- range .Values.wmbusmeters }}
|
||||
device-{{ .name }}:
|
||||
enabled: "true"
|
||||
mountPath: "/wmbusmeters_data/etc/wmbusmeters.d/{{ .name }}.conf"
|
||||
subPath: "device.conf"
|
||||
type: "custom"
|
||||
volumeSpec:
|
||||
configMap:
|
||||
name: {{ printf "%v-%v" (include "common.names.fullname" $) .name }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- $_ := mergeOverwrite .Values (include "wmbusmeters.harcodedValues" . | fromYaml) -}}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
25
charts/stable/wmbusmeters/templates/configmap.yaml
Normal file
25
charts/stable/wmbusmeters/templates/configmap.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}-config
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
data:
|
||||
wmbusmeters.conf: |
|
||||
{{- tpl .Values.config $ | nindent 4 }}
|
||||
|
||||
{{- range .Values.wmbusmeters }}
|
||||
{{- $name := printf "%s-%s" (include "common.names.fullname" $) .name }}
|
||||
{{- $labels := include "common.labels" $ }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ $name }}
|
||||
labels:
|
||||
{{- $labels | nindent 4 }}
|
||||
data:
|
||||
device.conf: |
|
||||
{{- .config | nindent 4 }}
|
||||
{{- end }}
|
||||
54
charts/stable/wmbusmeters/values.yaml
Normal file
54
charts/stable/wmbusmeters/values.yaml
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
# IMPORTANT NOTE
|
||||
#
|
||||
# This chart inherits from our common library chart. You can check the default values/options here:
|
||||
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
||||
#
|
||||
|
||||
image:
|
||||
# -- image repository
|
||||
repository: weetmuts/wmbusmeters
|
||||
# -- image tag
|
||||
tag: release-1.4.1-amd64
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
# -- environment variables.
|
||||
# @default -- See below
|
||||
env:
|
||||
# -- Set the container timezone
|
||||
TZ: UTC
|
||||
|
||||
securityContext:
|
||||
# -- (bool) Privileged securityContext may be required if USB controller is accessed directly through the host machine
|
||||
privileged: true
|
||||
|
||||
# -- Set the default config for wmbusmeters, see: https://github.com/weetmuts/wmbusmeters/blob/master/README.md
|
||||
config: |
|
||||
loglevel=normal
|
||||
device=rtlwmbus
|
||||
listento=t1
|
||||
logtelegrams=false
|
||||
format=json
|
||||
meterfiles=/wmbusmeters_data/logs/meter_readings
|
||||
meterfilesaction=overwrite
|
||||
logfile=/wmbusmeters_data/logs/wmbusmeters.log
|
||||
|
||||
# -- Set the config for individual meters to read, see: https://github.com/weetmuts/wmbusmeters/blob/master/README.md
|
||||
wmbusmeters:
|
||||
- name: watermeter
|
||||
config: |
|
||||
name=watermeter
|
||||
type=multical21
|
||||
id=1234567
|
||||
key=000000000000000000000000
|
||||
|
||||
|
||||
# -- Configure persistence settings for the chart under this key.
|
||||
# @default -- See values.yaml
|
||||
persistence:
|
||||
host-dev:
|
||||
enabled: false
|
||||
type: hostPath
|
||||
hostPath: /dev/device1
|
||||
mountPath: /dev/device1
|
||||
Reference in New Issue
Block a user