Adding sonarr-exporter

This commit is contained in:
Jonathan Ervine 2021-10-12 11:06:11 +08:00
parent 56faf42f86
commit bb3e08a92b
2 changed files with 16 additions and 0 deletions

View File

@ -11,5 +11,9 @@ spec:
targetPort: 8989
protocol: TCP
name: http
- port: 9707
targetPort: 9707
protocol: TCP
name: sonarr-metrics
selector:
{{- include "sonarr.selectorLabels" . | nindent 4 }}

View File

@ -23,6 +23,18 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: sonarr-metrics
image: ghcr.io/onedr0p/exportarr:latest
imagePullPolicy: IfNotPresent
ports:
- name: sonarr-metrics
containerPort: 9707
protocol: TCP
env:
- name: PORT
value: 9707
- name: URL
value: http://127.0.0.1:8989
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}