[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 <guillaume.frichet@gmail.com>
This commit is contained in:
Guillaume 2020-06-30 14:33:52 +02:00 committed by GitHub
parent 3e9298bff5
commit 4c16a658a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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 }}