mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 15:39:02 +00:00
[lidarr/radarr/sonarr] add exportarr integration (#692)
This commit is contained in:
parent
11d18f1fe5
commit
f81faa9219
@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: 0.8.0.1886
|
||||
description: Looks and smells like Sonarr but made for music
|
||||
name: lidarr
|
||||
version: 7.3.1
|
||||
version: 7.4.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- lidarr
|
||||
|
25
charts/stable/lidarr/ci/ct-exportarr-values.yaml
Normal file
25
charts/stable/lidarr/ci/ct-exportarr-values.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
# Test exportarr
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
emptyDir: true
|
||||
|
||||
additionalContainers:
|
||||
- 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
|
24
charts/stable/lidarr/templates/podmonitor.yaml
Normal file
24
charts/stable/lidarr/templates/podmonitor.yaml
Normal file
@ -0,0 +1,24 @@
|
||||
{{- if .Values.prometheus.podMonitor.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 }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
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
|
||||
{{- end }}
|
@ -67,3 +67,33 @@ persistence:
|
||||
## Do not delete the pvc upon helm uninstall
|
||||
# skipuninstall: false
|
||||
# existingClaim: ""
|
||||
|
||||
# Enable gathering Prometheus metrics
|
||||
prometheus:
|
||||
podMonitor:
|
||||
enabled: false
|
||||
interval: 1m
|
||||
scrapeTimeout: 1m30s
|
||||
additionalLabels: {}
|
||||
|
||||
# # When using the prometheus.podMonitor the following
|
||||
# # container is required
|
||||
# additionalContainers:
|
||||
# - 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
|
||||
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: 3.0.2.4552
|
||||
description: A fork of Sonarr to work with movies à la Couchpotato
|
||||
name: radarr
|
||||
version: 9.3.1
|
||||
version: 9.4.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- radarr
|
||||
|
25
charts/stable/radarr/ci/ct-exportarr-values.yaml
Normal file
25
charts/stable/radarr/ci/ct-exportarr-values.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
# Test exportarr
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
emptyDir: true
|
||||
|
||||
additionalContainers:
|
||||
- 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
|
24
charts/stable/radarr/templates/podmonitor.yaml
Normal file
24
charts/stable/radarr/templates/podmonitor.yaml
Normal file
@ -0,0 +1,24 @@
|
||||
{{- if .Values.prometheus.podMonitor.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 }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
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
|
||||
{{- end }}
|
@ -67,3 +67,33 @@ persistence:
|
||||
## Do not delete the pvc upon helm uninstall
|
||||
# skipuninstall: false
|
||||
# existingClaim: ""
|
||||
|
||||
# Enable gathering Prometheus metrics
|
||||
prometheus:
|
||||
podMonitor:
|
||||
enabled: false
|
||||
interval: 1m
|
||||
scrapeTimeout: 1m30s
|
||||
additionalLabels: {}
|
||||
|
||||
# # When using the prometheus.podMonitor the following
|
||||
# # container is required
|
||||
# additionalContainers:
|
||||
# - 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
|
||||
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: 3.0.4.993
|
||||
description: Smart PVR for newsgroup and bittorrent users
|
||||
name: sonarr
|
||||
version: 9.3.1
|
||||
version: 9.4.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- sonarr
|
||||
|
25
charts/stable/sonarr/ci/ct-exportarr-values.yaml
Normal file
25
charts/stable/sonarr/ci/ct-exportarr-values.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
# Test exportarr
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
emptyDir: true
|
||||
|
||||
additionalContainers:
|
||||
- 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
|
24
charts/stable/sonarr/templates/podmonitor.yaml
Normal file
24
charts/stable/sonarr/templates/podmonitor.yaml
Normal file
@ -0,0 +1,24 @@
|
||||
{{- if .Values.prometheus.podMonitor.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 }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
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
|
||||
{{- end }}
|
@ -67,3 +67,33 @@ persistence:
|
||||
## Do not delete the pvc upon helm uninstall
|
||||
# skipuninstall: false
|
||||
# existingClaim: ""
|
||||
|
||||
# Enable gathering Prometheus metrics
|
||||
prometheus:
|
||||
podMonitor:
|
||||
enabled: false
|
||||
interval: 1m
|
||||
scrapeTimeout: 1m30s
|
||||
additionalLabels: {}
|
||||
|
||||
# # When using the prometheus.podMonitor the following
|
||||
# # container is required
|
||||
# additionalContainers:
|
||||
# - 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
|
||||
|
Loading…
Reference in New Issue
Block a user