Skip to content

Commit

Permalink
Merge pull request #14 from bancey/feat/add-configurable-timeouts-for…
Browse files Browse the repository at this point in the history
…-sabnzbd-probes

feat: add configurable timeouts for sabnzbd probes
  • Loading branch information
bancey authored Apr 18, 2023
2 parents 0642291 + e2a1c37 commit 8c4568c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/sabnzbd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: sabnzbd
description: A Helm chart for SABnzbd.
type: application
icon: https://sabnzbd.org/images/logo-full.svg
version: 0.1.0
version: 0.1.1
appVersion: "3.7.2"
6 changes: 6 additions & 0 deletions charts/sabnzbd/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,16 @@ spec:
httpGet:
path: /
port: http
initialDelaySeconds: {{ .Values.probes.livenessProbe.initialDelaySeconds }}
timeoutSeconds: {{ .Values.probes.livenessProbe.timeoutSeconds }}
periodSeconds: {{ .Values.probes.livenessProbe.periodSeconds }}
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: {{ .Values.probes.readinessProbe.initialDelaySeconds }}
timeoutSeconds: {{ .Values.probes.readinessProbe.timeoutSeconds }}
periodSeconds: {{ .Values.probes.readinessProbe.periodSeconds }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
Expand Down
10 changes: 10 additions & 0 deletions charts/sabnzbd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ fullnameOverride: ""

podAnnotations: {}

probes:
livenessProbe:
timeoutSeconds: 15
periodSeconds: 45
initialDelaySeconds: 30
readinessProbe:
timeoutSeconds: 15
periodSeconds: 45
initialDelaySeconds: 30

podSecurityContext:
{}
# fsGroup: 2000
Expand Down

0 comments on commit 8c4568c

Please sign in to comment.