diff --git a/charts/stable/bazarr/Chart.yaml b/charts/stable/bazarr/Chart.yaml index 8932781e51cd..b1b3bec328cf 100644 --- a/charts/stable/bazarr/Chart.yaml +++ b/charts/stable/bazarr/Chart.yaml @@ -1,7 +1,7 @@ kubeVersion: ">=1.24.0-0" apiVersion: v2 name: bazarr -version: 15.1.3 +version: 15.2.0 appVersion: 1.4.0 description: Bazarr is a companion application to Sonarr and Radarr. It manages and diff --git a/charts/stable/bazarr/ci/default-values.yaml b/charts/stable/bazarr/ci/default-values.yaml new file mode 100644 index 000000000000..8c71aec7cea7 --- /dev/null +++ b/charts/stable/bazarr/ci/default-values.yaml @@ -0,0 +1,3 @@ +metrics: + main: + apiKey: newsn7zz12j67l4cwovjt6cyq6raqzmz diff --git a/charts/stable/bazarr/questions.yaml b/charts/stable/bazarr/questions.yaml index 4e64dc32febc..fc341a7b20e1 100644 --- a/charts/stable/bazarr/questions.yaml +++ b/charts/stable/bazarr/questions.yaml @@ -82,6 +82,15 @@ questions: default: 568 # Include{resources} +# Include{metrics} + - variable: apiKey + label: "Bazarr API key" + description: "Can be found in the Bazarr settings" + schema: + type: string + default: "" + required: true +# Include{prometheusRule} # Include{advanced} # Include{addons} # Include{codeserver} diff --git a/charts/stable/bazarr/values.yaml b/charts/stable/bazarr/values.yaml index 15dcffb18095..1a02d2a2e647 100644 --- a/charts/stable/bazarr/values.yaml +++ b/charts/stable/bazarr/values.yaml @@ -2,6 +2,10 @@ image: repository: ghcr.io/onedr0p/bazarr pullPolicy: IfNotPresent tag: 1.4.0@sha256:c81c4d9cbec093d5a999cfa3cd1af01d3f00d6292d6f5c33608510cef0ed83c7 +exportarrImage: + repository: tccr.io/truecharts/exportarr + pullPolicy: IfNotPresent + tag: v1.6.0@sha256:ee118701a2ebe8ccb5c25e1003fbed9ef7ce217d4e4b8b6df30cc2a0def818f8 service: main: ports: @@ -9,10 +13,74 @@ service: port: 6767 protocol: http targetPort: 6767 + metrics: + enabled: true + type: ClusterIP + targetSelector: exportarr + ports: + metrics: + enabled: true + port: 7879 + targetSelector: exportarr + +workload: + exportarr: + enabled: "{{ .Values.metrics.main.enabled }}" + type: Deployment + strategy: RollingUpdate + replicas: 1 + podSpec: + containers: + exportarr: + primary: true + enabled: true + imageSelector: exportarrImage + args: + - bazarr + probes: + liveness: + enabled: true + type: http + path: /healthz + port: "{{ .Values.service.metrics.ports.metrics.port }}" + readiness: + enabled: true + type: http + path: /healthz + port: "{{ .Values.service.metrics.ports.metrics.port }}" + startup: + enabled: true + type: http + path: /healthz + port: "{{ .Values.service.metrics.ports.metrics.port }}" + env: + INTERFACE: 0.0.0.0 + PORT: "{{ .Values.service.metrics.ports.metrics.port }}" + URL: '{{ printf "http://%v:%v" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.main.ports.main.port }}' + APIKEY: "{{ .Values.metrics.main.apiKey }}" + persistence: config: enabled: true - mountPath: /config + targetSelector: + main: + main: + mountPath: /config + exportarr: + exportarr: + mountPath: /config + readOnly: true + +metrics: + main: + enabled: true + type: "servicemonitor" + endpoints: + - port: metrics + path: /metrics + targetSelector: metrics + apiKey: "" + portal: open: enabled: true