From 8daa01d53cfec7f59075ff7a67eccede548c462d Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Mon, 27 Mar 2023 00:05:00 +0300 Subject: [PATCH] Use tcpSocket probe for plex, as we determine if plex is setup to use HTTPS or HTTP (#1059) --- library/ix-dev/charts/plex/Chart.yaml | 2 +- library/ix-dev/charts/plex/templates/deployment.yaml | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/library/ix-dev/charts/plex/Chart.yaml b/library/ix-dev/charts/plex/Chart.yaml index 204d09d8f3..f84de02f89 100644 --- a/library/ix-dev/charts/plex/Chart.yaml +++ b/library/ix-dev/charts/plex/Chart.yaml @@ -3,7 +3,7 @@ description: Plex Media Server annotations: title: Plex type: application -version: 1.7.33 +version: 1.7.34 apiVersion: v2 appVersion: '1.31.2.6810' kubeVersion: '>=1.16.0-0' diff --git a/library/ix-dev/charts/plex/templates/deployment.yaml b/library/ix-dev/charts/plex/templates/deployment.yaml index 164858ba0e..a43ac0bc39 100644 --- a/library/ix-dev/charts/plex/templates/deployment.yaml +++ b/library/ix-dev/charts/plex/templates/deployment.yaml @@ -68,8 +68,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }} {{ $envList = mustAppend $envList (dict "name" "PMS_IMAGE" "value" (printf "%s:%s" .Values.image.repository .Values.image.tag))}} {{ include "common.containers.environmentVariables" (dict "environmentVariables" $envList) | nindent 12 }} readinessProbe: - httpGet: - path: /identity + tcpSocket: port: 32400 initialDelaySeconds: 10 periodSeconds: 10 @@ -77,8 +76,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }} failureThreshold: 5 successThreshold: 2 livenessProbe: - httpGet: - path: /identity + tcpSocket: port: 32400 initialDelaySeconds: 10 periodSeconds: 10 @@ -86,8 +84,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }} failureThreshold: 5 successThreshold: 1 startupProbe: - httpGet: - path: /identity + tcpSocket: port: 32400 initialDelaySeconds: 10 periodSeconds: 5