mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-26 08:06:09 +01:00
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:
2
gradle/changelog/helm_chart.yaml
Normal file
2
gradle/changelog/helm_chart.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
- type: added
|
||||
description: Add variables for liveness probe and readiness probe delay in helm chart
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user