diff --git a/charts/flowable/README.md b/charts/flowable/README.md
index 4d1e88c..4c1d44e 100644
--- a/charts/flowable/README.md
+++ b/charts/flowable/README.md
@@ -124,6 +124,18 @@ The following tables lists the configurable parameters of the Flowable chart and
| `rest.resources.limits.cpu` | Kubernetes CPU limit | `1` |
| `rest.resources.limits.memory` | Kubernetes memory limit | `1Gi` |
| `rest.resources.javaOpts` | JVM options | `-Xmx1g -Xms1g` |
+| `rest.admin.username` | Admin user to create | `rest-admin` |
+| `rest.admin.password` | Password for admin user | `test` |
+| `rest.readinessProbe.initialDelaySeconds` | Time to allow pod to start before first probe | `60` |
+| `rest.readinessProbe.periodSeconds` | Time between probes | `10` |
+| `rest.readinessProbe.timeoutSeconds` | Time allowed for pod to respond to probe | `5` |
+| `rest.readinessProbe.successThreshold` | Number of successful probes before marking pod ready | `1` |
+| `rest.readinessProbe.failureThreshold` | Number of failed probes before recycling the pod | `3` |
+| `rest.livenessProbe.initialDelaySeconds` | Time to allow pod to start before first probe | `60` |
+| `rest.livenessProbe.periodSeconds` | Time between probes | `10` |
+| `rest.livenessProbe.timeoutSeconds` | Time allowed for pod to respond to probe | `10` |
+| `rest.livenessProbe.successThreshold` | Number of successful probes before marking pod live | `1` |
+| `rest.livenessProbe.failureThreshold` | Number of failed probes before recycling the pod | `10` |
|
|
| `postgres.enabled` | Will deploy and configure a PostgreSQL database instance | `true` |
| `postgres.service.name` | Kubernetes service name | `flowable-postgres` |
diff --git a/charts/flowable/templates/rest.yaml b/charts/flowable/templates/rest.yaml
index df78066..c5d2db8 100644
--- a/charts/flowable/templates/rest.yaml
+++ b/charts/flowable/templates/rest.yaml
@@ -39,8 +39,11 @@ spec:
### generate new with; echo -n "" | base64
#value: Basic cmVzdC1hZG1pbjp0ZXN0
value: Basic: {{- printf "%s:%s" .Values.rest.admin.username .Values.rest.admin.password | b64enc }}
- initialDelaySeconds: 60
- timeoutSeconds: 5
+ initialDelaySeconds: {{ .Values.rest.readinessProbe.initialDelaySeconds }}
+ periodSeconds: {{ .Values.rest.readinessProbe.periodSeconds }}
+ timeoutSeconds: {{ .Values.rest.readinessProbe.timeoutSeconds }}
+ successThreshold: {{ .Values.rest.readinessProbe.successThreshold }}
+ failureThreshold: {{ .Values.rest.readinessProbe.failureThreshold }}
livenessProbe:
httpGet:
path: {{ .Values.rest.contextPath }}/actuator/health
@@ -52,7 +55,9 @@ spec:
#value: Basic cmVzdC1hZG1pbjp0ZXN0
value: Basic: {{- printf "%s:%s" .Values.rest.admin.username .Values.rest.admin.password | b64enc }}
initialDelaySeconds: {{ .Values.rest.livenessProbe.initialDelaySeconds }}
+ periodSeconds: {{ .Values.rest.livenessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.rest.livenessProbe.timeoutSeconds }}
+ successThreshold: {{ .Values.rest.livenessProbe.successThreshold }}
failureThreshold: {{ .Values.rest.livenessProbe.failureThreshold }}
envFrom:
- configMapRef:
diff --git a/charts/flowable/values.yaml b/charts/flowable/values.yaml
index afe26d2..4517ce8 100644
--- a/charts/flowable/values.yaml
+++ b/charts/flowable/values.yaml
@@ -49,9 +49,17 @@ rest:
admin:
username: rest-admin
password: test
+ readinessProbe:
+ initialDelaySeconds: 60
+ periodSeconds: 10
+ timeoutSeconds: 5
+ successThreshold: 1
+ failureThreshold: 3
livenessProbe:
initialDelaySeconds: 60
+ periodSeconds: 10
timeoutSeconds: 10
+ successThreshold: 1
failureThreshold: 10
postgres: