Skip to content

Commit b011f77

Browse files
authored
Lifecycle correction (#40)
1 parent 0253ad5 commit b011f77

5 files changed

Lines changed: 47 additions & 63 deletions

File tree

‎charts/document-engine/CHANGELOG.md‎

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,66 @@
11
# Changelog
22

33
- [Changelog](#changelog)
4-
- [3.2.9 (2024-11-15)](#329-2024-11-15)
4+
- [3.2.10 (2024-11-18)](#3210-2024-11-18)
55
- [Changed](#changed)
6+
- [3.2.9 (2024-11-15)](#329-2024-11-15)
7+
- [Changed](#changed-1)
68
- [3.2.7 (2024-11-15)](#327-2024-11-15)
79
- [Added](#added)
8-
- [Changed](#changed-1)
10+
- [Changed](#changed-2)
911
- [3.2.6 (2024-10-29)](#326-2024-10-29)
1012
- [Added](#added-1)
11-
- [Changed](#changed-2)
12-
- [3.2.5 (2024-10-24)](#325-2024-10-24)
1313
- [Changed](#changed-3)
14+
- [3.2.5 (2024-10-24)](#325-2024-10-24)
15+
- [Changed](#changed-4)
1416
- [3.2.4 (2024-10-17)](#324-2024-10-17)
1517
- [Fixed](#fixed)
1618
- [3.2.3 (2024-10-16)](#323-2024-10-16)
1719
- [Fixed](#fixed-1)
1820
- [3.2.2 (2024-10-09)](#322-2024-10-09)
19-
- [Changed](#changed-4)
20-
- [3.2.1 (2024-09-20)](#321-2024-09-20)
2121
- [Changed](#changed-5)
22-
- [3.2.0 (2024-08-29)](#320-2024-08-29)
22+
- [3.2.1 (2024-09-20)](#321-2024-09-20)
2323
- [Changed](#changed-6)
24-
- [3.1.2 (2024-08-23)](#312-2024-08-23)
24+
- [3.2.0 (2024-08-29)](#320-2024-08-29)
2525
- [Changed](#changed-7)
26+
- [3.1.2 (2024-08-23)](#312-2024-08-23)
27+
- [Changed](#changed-8)
2628
- [3.1.1 (2024-08-23)](#311-2024-08-23)
2729
- [Fixed](#fixed-2)
2830
- [3.1.0 (2024-08-22)](#310-2024-08-22)
2931
- [Added](#added-2)
3032
- [3.0.6 (2024-08-22)](#306-2024-08-22)
31-
- [Changed](#changed-8)
33+
- [Changed](#changed-9)
3234
- [3.0.5 (2024-08-21)](#305-2024-08-21)
3335
- [Fixed](#fixed-3)
3436
- [3.0.4 (2024-08-21)](#304-2024-08-21)
35-
- [Changed](#changed-9)
37+
- [Changed](#changed-10)
3638
- [Added](#added-3)
3739
- [2.9.3 (2024-08-16)](#293-2024-08-16)
3840
- [Fixed](#fixed-4)
3941
- [2.9.2 (2024-08-13)](#292-2024-08-13)
40-
- [Changed](#changed-10)
42+
- [Changed](#changed-11)
4143
- [2.9.1 (2024-08-10)](#291-2024-08-10)
4244
- [Added](#added-4)
43-
- [Changed](#changed-11)
45+
- [Changed](#changed-12)
4446
- [2.9.0 (2024-08-01)](#290-2024-08-01)
4547
- [Added](#added-5)
46-
- [Changed](#changed-12)
48+
- [Changed](#changed-13)
4749
- [Fixed](#fixed-5)
4850
- [2.8.0](#280)
4951
- [Added](#added-6)
50-
- [Changed](#changed-13)
52+
- [Changed](#changed-14)
5153
- [Fixed](#fixed-6)
5254
- [2.7.3](#273)
53-
- [Changed](#changed-14)
55+
- [Changed](#changed-15)
5456
- [Fixed](#fixed-7)
5557
- [2.7.2](#272)
5658
- [Fixed](#fixed-8)
5759
- [2.7.0](#270)
58-
- [Changed](#changed-15)
60+
- [Changed](#changed-16)
5961
- [2.6.2](#262)
6062
- [Added](#added-7)
61-
- [Changed](#changed-16)
63+
- [Changed](#changed-17)
6264
- [2.6.0](#260)
6365
- [Added](#added-8)
6466
- [2.4.0](#240)
@@ -68,9 +70,15 @@
6870
- [2.2.0](#220)
6971
- [Added](#added-11)
7072
- [2.1.0](#210)
71-
- [Changed](#changed-17)
72-
- [2.0.0](#200)
7373
- [Changed](#changed-18)
74+
- [2.0.0](#200)
75+
- [Changed](#changed-19)
76+
77+
## 3.2.10 (2024-11-18)
78+
79+
### Changed
80+
81+
* Removed earlier added default `lifecycle`: dumb-init makes it unnecessary.
7482

7583
## 3.2.9 (2024-11-15)
7684

‎charts/document-engine/Chart.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ type: application
44
description: Document Engine is a backend software for processing documents and powering automation workflows.
55
home: https://www.nutrient.io/sdk/document-engine
66
icon: https://cdn.prod.website-files.com/65fdb7696055f07a05048833/66e58e33c3880ff24aa34027_nutrient-logo.png
7-
version: 3.2.9
7+
version: 3.2.10
88
appVersion: "1.5.3"
99

1010
keywords:

‎charts/document-engine/README.md‎

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Document Engine Helm chart
22

3-
![Version: 3.2.9](https://img.shields.io/badge/Version-3.2.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.3](https://img.shields.io/badge/AppVersion-1.5.3-informational?style=flat-square)
3+
![Version: 3.2.10](https://img.shields.io/badge/Version-3.2.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.3](https://img.shields.io/badge/AppVersion-1.5.3-informational?style=flat-square)
44

55
Document Engine is a backend software for processing documents and powering automation workflows.
66

@@ -320,7 +320,7 @@ The chart depends upon [Bitnami](https://github.com/bitnami/charts/tree/main/bit
320320

321321
| Key | Description | Default |
322322
|-----|-------------|---------|
323-
| [`lifecycle`](./values.yaml#L888) | [Lifecycle](https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/) The defailt value will send SIGTERM to the main Document Engine process upon pod termination. | [...](./values.yaml#L888) |
323+
| [`lifecycle`](./values.yaml#L887) | [Lifecycle](https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/) | `map[]` |
324324
| [`livenessProbe`](./values.yaml#L858) | [Liveness probe](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) | [...](./values.yaml#L858) |
325325
| [`readinessProbe`](./values.yaml#L871) | [Readiness probe](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) | [...](./values.yaml#L871) |
326326
| [`startupProbe`](./values.yaml#L845) | [Startup probe](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) | [...](./values.yaml#L845) |
@@ -330,31 +330,31 @@ The chart depends upon [Bitnami](https://github.com/bitnami/charts/tree/main/bit
330330

331331
| Key | Description | Default |
332332
|-----|-------------|---------|
333-
| [`affinity`](./values.yaml#L950) | Node affinity | `{}` |
334-
| [`autoscaling`](./values.yaml#L899) | [Autoscaling](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) | [...](./values.yaml#L899) |
335-
| [`nodeSelector`](./values.yaml#L947) | [Node selector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/) | `{}` |
336-
| [`podDisruptionBudget`](./values.yaml#L940) | [Pod disruption budget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) | [...](./values.yaml#L940) |
337-
| [`priorityClassName`](./values.yaml#L959) | [Priority classs](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/) | `""` |
338-
| [`replicaCount`](./values.yaml#L928) | Number of replicas | `1` |
339-
| [`resources`](./values.yaml#L925) | [Resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) | `{}` |
340-
| [`schedulerName`](./values.yaml#L962) | [Scheduler](https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/) | `""` |
341-
| [`tolerations`](./values.yaml#L953) | [Node tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) | `[]` |
342-
| [`topologySpreadConstraints`](./values.yaml#L956) | [Topology spread constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/) | `[]` |
343-
| [`updateStrategy`](./values.yaml#L931) | [Update strategy](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy) | `{"rollingUpdate":{},"type":"RollingUpdate"}` |
333+
| [`affinity`](./values.yaml#L943) | Node affinity | `{}` |
334+
| [`autoscaling`](./values.yaml#L892) | [Autoscaling](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) | [...](./values.yaml#L892) |
335+
| [`nodeSelector`](./values.yaml#L940) | [Node selector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/) | `{}` |
336+
| [`podDisruptionBudget`](./values.yaml#L933) | [Pod disruption budget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) | [...](./values.yaml#L933) |
337+
| [`priorityClassName`](./values.yaml#L952) | [Priority classs](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/) | `""` |
338+
| [`replicaCount`](./values.yaml#L921) | Number of replicas | `1` |
339+
| [`resources`](./values.yaml#L918) | [Resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) | `{}` |
340+
| [`schedulerName`](./values.yaml#L955) | [Scheduler](https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/) | `""` |
341+
| [`tolerations`](./values.yaml#L946) | [Node tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) | `[]` |
342+
| [`topologySpreadConstraints`](./values.yaml#L949) | [Topology spread constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/) | `[]` |
343+
| [`updateStrategy`](./values.yaml#L924) | [Update strategy](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy) | `{"rollingUpdate":{},"type":"RollingUpdate"}` |
344344

345345
### Chart dependencies
346346

347347
| Key | Description | Default |
348348
|-----|-------------|---------|
349-
| [`minio`](./values.yaml#L989) | [External MinIO chart](https://github.com/bitnami/charts/tree/main/bitnami/minio) | [...](./values.yaml#L989) |
350-
| [`postgresql`](./values.yaml#L967) | [External PostgreSQL database chart](https://github.com/bitnami/charts/tree/main/bitnami/postgresql) | [...](./values.yaml#L967) |
351-
| [`redis`](./values.yaml#L1001) | [External Redis chart](https://github.com/bitnami/charts/tree/main/bitnami/redis) | [...](./values.yaml#L1001) |
349+
| [`minio`](./values.yaml#L982) | [External MinIO chart](https://github.com/bitnami/charts/tree/main/bitnami/minio) | [...](./values.yaml#L982) |
350+
| [`postgresql`](./values.yaml#L960) | [External PostgreSQL database chart](https://github.com/bitnami/charts/tree/main/bitnami/postgresql) | [...](./values.yaml#L960) |
351+
| [`redis`](./values.yaml#L994) | [External Redis chart](https://github.com/bitnami/charts/tree/main/bitnami/redis) | [...](./values.yaml#L994) |
352352

353353
### Other Values
354354

355355
| Key | Description | Default |
356356
|-----|-------------|---------|
357-
| [`revisionHistoryLimit`](./values.yaml#L935) | [Revision history limit](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#clean-up-policy) | `10` |
357+
| [`revisionHistoryLimit`](./values.yaml#L928) | [Revision history limit](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#clean-up-policy) | `10` |
358358

359359
## Contribution
360360

‎charts/document-engine/values.schema.json‎

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -630,24 +630,7 @@
630630
"type": "array"
631631
},
632632
"lifecycle": {
633-
"properties": {
634-
"preStop": {
635-
"properties": {
636-
"exec": {
637-
"properties": {
638-
"command": {
639-
"items": {
640-
"type": "string"
641-
},
642-
"type": "array"
643-
}
644-
},
645-
"type": "object"
646-
}
647-
},
648-
"type": "object"
649-
}
650-
},
633+
"properties": {},
651634
"type": "object"
652635
},
653636
"livenessProbe": {

‎charts/document-engine/values.yaml‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -882,16 +882,9 @@ readinessProbe:
882882
# @section -- F. Pod lifecycle
883883
terminationGracePeriodSeconds: 30 # @schema type: integer
884884
# -- [Lifecycle](https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/)
885-
# The defailt value will send SIGTERM to the main Document Engine process upon pod termination.
886885
# @section -- F. Pod lifecycle
887886
# @notationType -- reference
888-
lifecycle:
889-
preStop:
890-
exec:
891-
command:
892-
- /bin/sh
893-
- -c
894-
- echo "Terminating container now..." && pkill -e -SIGTERM beam.smp && sleep 10
887+
lifecycle: {}
895888

896889
# -- (object) [Autoscaling](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)
897890
# @section -- G. Scheduling

0 commit comments

Comments
 (0)