mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[plex] Add ability to disable and customize probes (#505)
This commit is contained in:
parent
667951e6e6
commit
cb1d6b70dc
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 1.20.2.3402
|
appVersion: 1.20.2.3402
|
||||||
description: Plex Media Server
|
description: Plex Media Server
|
||||||
name: plex
|
name: plex
|
||||||
version: 2.2.0
|
version: 2.3.0
|
||||||
keywords:
|
keywords:
|
||||||
- plex
|
- plex
|
||||||
home: https://plex.tv/
|
home: https://plex.tv/
|
||||||
|
@ -191,25 +191,18 @@ spec:
|
|||||||
value: "customCertificateDomain={{.Values.certificate.pkcsMangler.setPlexPreferences.customCertificateDomain}}"
|
value: "customCertificateDomain={{.Values.certificate.pkcsMangler.setPlexPreferences.customCertificateDomain}}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.probes.readiness.enabled }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
{{- omit .Values.probes.readiness "enabled" | toYaml | nindent 12 }}
|
||||||
path: /identity
|
{{- end }}
|
||||||
port: 32400
|
{{- if .Values.probes.liveness.enabled }}
|
||||||
failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
|
|
||||||
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
{{- omit .Values.probes.liveness "enabled" | toYaml | nindent 12 }}
|
||||||
path: /identity
|
{{- end }}
|
||||||
port: 32400
|
{{- if .Values.probes.startup.enabled }}
|
||||||
failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
|
|
||||||
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
|
|
||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
{{- omit .Values.probes.startup "enabled" | toYaml | nindent 12 }}
|
||||||
path: /identity
|
{{- end }}
|
||||||
port: 32400
|
|
||||||
initialDelaySeconds: {{ .Values.probes.startup.initialDelaySeconds }}
|
|
||||||
failureThreshold: {{ .Values.probes.startup.failureThreshold }}
|
|
||||||
periodSeconds: {{ .Values.probes.startup.periodSeconds }}
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- if .Values.persistence.data.enabled }}
|
{{- if .Values.persistence.data.enabled }}
|
||||||
- name: data
|
- name: data
|
||||||
|
@ -319,12 +319,24 @@ logging:
|
|||||||
# Probes configuration
|
# Probes configuration
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
|
enabled: true
|
||||||
|
httpGet:
|
||||||
|
path: /identity
|
||||||
|
port: 32400
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
readiness:
|
readiness:
|
||||||
|
enabled: true
|
||||||
|
httpGet:
|
||||||
|
path: /identity
|
||||||
|
port: 32400
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
startup:
|
startup:
|
||||||
|
enabled: true
|
||||||
|
httpGet:
|
||||||
|
path: /identity
|
||||||
|
port: 32400
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
failureThreshold: 30
|
failureThreshold: 30
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
Loading…
Reference in New Issue
Block a user