mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-17 11:59:21 +00:00
Compare commits
1 Commits
aaisp2mqtt
...
plex-expor
| Author | SHA1 | Date | |
|---|---|---|---|
| c2b9442ebc |
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 0.2.2
|
appVersion: 0.2.2
|
||||||
description: A prometheus exporter for Plex Media Server
|
description: A prometheus exporter for Plex Media Server
|
||||||
name: plex-exporter
|
name: plex-exporter
|
||||||
version: 0.0.1
|
version: 0.0.2
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- plex-exporter
|
- plex-exporter
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# plex-exporter
|
# plex-exporter
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
A prometheus exporter for Plex Media Server
|
A prometheus exporter for Plex Media Server
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@ Specify each parameter using the `--set key=value[,key=value]` argument to `helm
|
|||||||
|
|
||||||
```console
|
```console
|
||||||
helm install plex-exporter \
|
helm install plex-exporter \
|
||||||
--set plex.server="http://192.168.1.1:32400"\
|
--set plex.token="000000"\
|
||||||
nikdoof-helm-charts/plex-exporter
|
nikdoof-helm-charts/plex-exporter
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -68,7 +68,7 @@ helm install plex-exporter nikdoof-helm-charts/plex-exporter -f values.yaml
|
|||||||
|
|
||||||
## Custom configuration
|
## Custom configuration
|
||||||
|
|
||||||
N/A
|
Your Plex token can either be passed as a value in values.yml, or you can provide a environment variable of `PLEX_TOKEN` or `TOKEN` by a method of your choice.
|
||||||
|
|
||||||
## Values
|
## Values
|
||||||
|
|
||||||
@@ -87,7 +87,9 @@ N/A
|
|||||||
| metrics.serviceMonitor.interval | string | `"1m"` | |
|
| metrics.serviceMonitor.interval | string | `"1m"` | |
|
||||||
| metrics.serviceMonitor.labels | object | `{}` | |
|
| metrics.serviceMonitor.labels | object | `{}` | |
|
||||||
| metrics.serviceMonitor.scrapeTimeout | string | `"30s"` | |
|
| metrics.serviceMonitor.scrapeTimeout | string | `"30s"` | |
|
||||||
| plex.server | string | `nil` | Server address of your Plex server, as a URL, including the port |
|
| plex.autodiscover | bool | `true` | Enable autodiscover using plex.tv |
|
||||||
|
| plex.server | string | `nil` | Manual server address of your Plex server, as a URL, including the port |
|
||||||
|
| plex.token | string | `nil` | Authentication token to connect to your Plex instance |
|
||||||
| service | object | See values.yaml | Configures service settings for the chart. |
|
| service | object | See values.yaml | Configures service settings for the chart. |
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ Specify each parameter using the `--set key=value[,key=value]` argument to `helm
|
|||||||
|
|
||||||
```console
|
```console
|
||||||
helm install {{ template "chart.name" . }} \
|
helm install {{ template "chart.name" . }} \
|
||||||
--set plex.server="http://192.168.1.1:32400"\
|
--set plex.token="000000"\
|
||||||
{{ template "custom.helm.path" . }}
|
{{ template "custom.helm.path" . }}
|
||||||
```
|
```
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@@ -9,6 +9,20 @@ 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).
|
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).
|
||||||
|
|
||||||
|
### [0.0.2]
|
||||||
|
|
||||||
|
#### Added
|
||||||
|
|
||||||
|
- Support for auto discovery
|
||||||
|
|
||||||
|
#### Changed
|
||||||
|
|
||||||
|
- N/A
|
||||||
|
|
||||||
|
#### Removed
|
||||||
|
|
||||||
|
- N/A
|
||||||
|
|
||||||
### [0.0.1]
|
### [0.0.1]
|
||||||
|
|
||||||
#### Added
|
#### Added
|
||||||
|
|||||||
@@ -5,5 +5,5 @@
|
|||||||
{{- define "custom.custom.configuration" -}}
|
{{- define "custom.custom.configuration" -}}
|
||||||
{{ template "custom.custom.configuration.header" . }}
|
{{ template "custom.custom.configuration.header" . }}
|
||||||
|
|
||||||
N/A
|
Your Plex token can either be passed as a value in values.yml, or you can provide a environment variable of `PLEX_TOKEN` or `TOKEN` by a method of your choice.
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
---
|
---
|
||||||
plex:
|
plex:
|
||||||
server: test
|
server: test
|
||||||
|
token: a0a0a0a0a0
|
||||||
5
charts/plex-exporter/ci/manual.yaml
Normal file
5
charts/plex-exporter/ci/manual.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
plex:
|
||||||
|
autodiscovery: false
|
||||||
|
server: http://test:32400
|
||||||
|
token: a0a0a0a0a0
|
||||||
@@ -4,8 +4,16 @@
|
|||||||
{{/* Append the hardcoded settings */}}
|
{{/* Append the hardcoded settings */}}
|
||||||
{{- define "plex-exporter.harcodedValues" -}}
|
{{- define "plex-exporter.harcodedValues" -}}
|
||||||
args:
|
args:
|
||||||
|
{{- if .Values.plex.autodiscover -}}
|
||||||
|
- "--auto-discover"
|
||||||
|
{{- else -}}
|
||||||
- "--plex-server"
|
- "--plex-server"
|
||||||
- "{{ .Values.plex.server }}"
|
- "{{ .Values.plex.server }}"
|
||||||
|
{{- end -}}
|
||||||
|
{{- if .Values.plex.token -}}
|
||||||
|
- "--token"
|
||||||
|
- "{{ .Values.plex.token }}"
|
||||||
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $_ := mergeOverwrite .Values (include "plex-exporter.harcodedValues" . | fromYaml) -}}
|
{{- $_ := mergeOverwrite .Values (include "plex-exporter.harcodedValues" . | fromYaml) -}}
|
||||||
|
|
||||||
|
|||||||
@@ -36,8 +36,12 @@ ingress:
|
|||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
plex:
|
plex:
|
||||||
# -- Server address of your Plex server, as a URL, including the port
|
# -- Manual server address of your Plex server, as a URL, including the port
|
||||||
server:
|
server:
|
||||||
|
# -- Authentication token to connect to your Plex instance
|
||||||
|
token:
|
||||||
|
# -- Enable autodiscover using plex.tv
|
||||||
|
autodiscover: true
|
||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
# -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
|
# -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
|
||||||
|
|||||||
Reference in New Issue
Block a user