Enhance helm chart template

Add variables for liveness probe and readiness probe
initial delay for helm chart

Committed-by: Rene Pfeuffer <rene.pfeuffer@cloudogu.com>
This commit is contained in:
Eduard Heimbuch
2023-06-15 08:27:13 +02:00
parent 32a0a6868f
commit d74ed28542
3 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
- type: added
description: Add variables for liveness probe and readiness probe delay in helm chart

View File

@@ -84,12 +84,12 @@ spec:
httpGet:
path: /scm
port: http
initialDelaySeconds: 30
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
readinessProbe:
httpGet:
path: /scm
port: http
initialDelaySeconds: 10
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
resources:
{{ toYaml .Values.resources | indent 12 }}
volumeMounts:

View File

@@ -107,6 +107,12 @@ persistence:
# persistence.size -- The size of the PVC
size: 40Gi
livenessProbe:
initialDelaySeconds: 60
readinessProbe:
initialDelaySeconds: 20
# resources -- Resources allocation (Requests and Limits)
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious