From 4c16a658a70cfac915d7db7a6684ecf80ca6157d Mon Sep 17 00:00:00 2001 From: Guillaume Date: Tue, 30 Jun 2020 14:33:52 +0200 Subject: [PATCH] [sonarr] Fix liveness and readiness probes on basic auth deployment (#257) Use tcpSocket instead of httpGet to avoid: HTTP probe failed with statuscode: 401 Signed-off-by: LEI --- charts/sonarr/Chart.yaml | 2 +- charts/sonarr/templates/deployment.yaml | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/charts/sonarr/Chart.yaml b/charts/sonarr/Chart.yaml index 344287b5..ad391f16 100644 --- a/charts/sonarr/Chart.yaml +++ b/charts/sonarr/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 2.0.0.5344-ls60 description: Sonarr is a television show downloading client name: sonarr -version: 4.1.0 +version: 4.1.1 keywords: - sonarr - usenet diff --git a/charts/sonarr/templates/deployment.yaml b/charts/sonarr/templates/deployment.yaml index 15d010c6..eb62a612 100644 --- a/charts/sonarr/templates/deployment.yaml +++ b/charts/sonarr/templates/deployment.yaml @@ -43,15 +43,13 @@ spec: containerPort: 8989 protocol: TCP livenessProbe: - httpGet: - path: / + tcpSocket: port: http initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }} failureThreshold: {{ .Values.probes.liveness.failureThreshold }} timeoutSeconds: {{ .Values.probes.liveness.timeoutSeconds }} readinessProbe: - httpGet: - path: / + tcpSocket: port: http initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }} failureThreshold: {{ .Values.probes.readiness.failureThreshold }}