From 2e4c1bc3f85d586366fef5602d5e0d062742fd10 Mon Sep 17 00:00:00 2001 From: ekneg54 Date: Tue, 8 Oct 2024 14:11:29 +0200 Subject: [PATCH] add terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} --- CHANGELOG.md | 3 ++- charts/logprep/Chart.yaml | 2 +- charts/logprep/templates/deployment.yaml | 1 + charts/logprep/values.yaml | 4 ++++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fa19da4a..b205ff0d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,13 +13,14 @@ * adds `desired_cluster_status` option to opensearch output to signal healthy cluster status * initially run health checks on setup for every configured component * make `imagePullPolicy` configurable for helm chart deployments +* make `terminationGracePeriodSeconds` configurable in helm chart values ### Improvements * remove AutoRuleCorpusTester * adds support for rust extension development -* adds prebuild wheels for architectures `x86_64` on `manylinux` and `musllinux` based linux platforms to releases +* adds prebuilt wheels for architectures `x86_64` on `manylinux` and `musllinux` based linux platforms to releases * add manual how to use local images with minikube example setup to documentation * move `Configuration` to top level of documentation * add `CONTRIBUTING` file diff --git a/charts/logprep/Chart.yaml b/charts/logprep/Chart.yaml index ebf1f33bf..a5afd7d13 100644 --- a/charts/logprep/Chart.yaml +++ b/charts/logprep/Chart.yaml @@ -6,7 +6,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: "13.3.0" +version: "13.4.0" # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/logprep/templates/deployment.yaml b/charts/logprep/templates/deployment.yaml index 64f1b7cfc..1dd7d7fcd 100644 --- a/charts/logprep/templates/deployment.yaml +++ b/charts/logprep/templates/deployment.yaml @@ -129,6 +129,7 @@ spec: periodSeconds: 5 timeoutSeconds: 10 {{- end }} + terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} volumes: - name: logprep-temp emptyDir: diff --git a/charts/logprep/values.yaml b/charts/logprep/values.yaml index 1d2638a62..f24bdbbab 100644 --- a/charts/logprep/values.yaml +++ b/charts/logprep/values.yaml @@ -160,3 +160,7 @@ configurations: # admin # admin2 artifacts: [] + +# The termination grace period for the pod +# Defaults to 300 seconds to ensure that queues are drained before the pod is terminated +terminationGracePeriodSeconds: 300