From 40833e0de96e413e1913056f5bbcb5e7e1c4b33a Mon Sep 17 00:00:00 2001 From: Ludovic Ortega Date: Fri, 12 Apr 2024 10:16:28 +0200 Subject: [PATCH] fix: bazarr liveness probe & qbittorrent liveness probes (#23) Signed-off-by: Ludovic Ortega --- charts/bazarr/Chart.yaml | 2 +- charts/bazarr/README.md | 2 +- charts/bazarr/templates/deployment.yaml | 12 ++++++++---- charts/qbittorrent/Chart.yaml | 2 +- charts/qbittorrent/README.md | 2 +- charts/qbittorrent/templates/deployment.yaml | 10 +--------- 6 files changed, 13 insertions(+), 17 deletions(-) diff --git a/charts/bazarr/Chart.yaml b/charts/bazarr/Chart.yaml index 0837db9..9dedfd9 100644 --- a/charts/bazarr/Chart.yaml +++ b/charts/bazarr/Chart.yaml @@ -3,7 +3,7 @@ kubeVersion: ">=1.23.0-0" name: bazarr description: bazarr helm chart for Kubernetes type: application -version: 0.2.4 +version: 0.2.5 # image: ghcr.io/onedr0p/bazarr appVersion: "1.4.2" maintainers: diff --git a/charts/bazarr/README.md b/charts/bazarr/README.md index c5dd1d9..01daf7f 100644 --- a/charts/bazarr/README.md +++ b/charts/bazarr/README.md @@ -1,6 +1,6 @@ # bazarr -![Version: 0.2.4](https://img.shields.io/badge/Version-0.2.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.4.2](https://img.shields.io/badge/AppVersion-1.4.2-informational?style=flat-square) +![Version: 0.2.5](https://img.shields.io/badge/Version-0.2.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.4.2](https://img.shields.io/badge/AppVersion-1.4.2-informational?style=flat-square) bazarr helm chart for Kubernetes diff --git a/charts/bazarr/templates/deployment.yaml b/charts/bazarr/templates/deployment.yaml index c985d70..16e78d1 100644 --- a/charts/bazarr/templates/deployment.yaml +++ b/charts/bazarr/templates/deployment.yaml @@ -50,14 +50,18 @@ spec: httpGet: path: / port: http + initialDelaySeconds: 120 + periodSeconds: 10 + timeoutSeconds: 1 + failureThreshold: 3 readinessProbe: httpGet: path: / port: http - initialDelaySeconds: 60 - periodSeconds: 10 - timeoutSeconds: 1 - failureThreshold: 3 + initialDelaySeconds: 120 + periodSeconds: 10 + timeoutSeconds: 1 + failureThreshold: 3 resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.extraEnv }} diff --git a/charts/qbittorrent/Chart.yaml b/charts/qbittorrent/Chart.yaml index bb8373d..16c4229 100644 --- a/charts/qbittorrent/Chart.yaml +++ b/charts/qbittorrent/Chart.yaml @@ -3,7 +3,7 @@ kubeVersion: ">=1.23.0-0" name: qbittorrent description: qbittorrent helm chart for Kubernetes type: application -version: 0.3.4 +version: 0.3.5 # image: ghcr.io/onedr0p/qbittorrent appVersion: "4.6.4" maintainers: diff --git a/charts/qbittorrent/README.md b/charts/qbittorrent/README.md index 2c906dd..6c92d3b 100644 --- a/charts/qbittorrent/README.md +++ b/charts/qbittorrent/README.md @@ -1,6 +1,6 @@ # qbittorrent -![Version: 0.3.4](https://img.shields.io/badge/Version-0.3.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.6.4](https://img.shields.io/badge/AppVersion-4.6.4-informational?style=flat-square) +![Version: 0.3.5](https://img.shields.io/badge/Version-0.3.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.6.4](https://img.shields.io/badge/AppVersion-4.6.4-informational?style=flat-square) qbittorrent helm chart for Kubernetes diff --git a/charts/qbittorrent/templates/deployment.yaml b/charts/qbittorrent/templates/deployment.yaml index 4bedc43..e7a4c66 100644 --- a/charts/qbittorrent/templates/deployment.yaml +++ b/charts/qbittorrent/templates/deployment.yaml @@ -84,7 +84,7 @@ spec: imagePullPolicy: {{ .Values.gluetun.image.pullPolicy }} ports: - name: http - containerPort: 8888 + containerPort: {{ $.Values.service.web.port }} protocol: TCP - name: shadowsocks-tcp containerPort: 8388 @@ -92,14 +92,6 @@ spec: - name: shadowsocks-udp containerPort: 8388 protocol: UDP - livenessProbe: - httpGet: - path: /api/v2/app/version - port: http - readinessProbe: - httpGet: - path: /api/v2/app/version - port: http resources: {{- toYaml .Values.gluetun.resources | nindent 12 }} {{- with .Values.gluetun.extraEnv }}