From d048197ed1a11e23421c2e19c457b38277bd4f9c Mon Sep 17 00:00:00 2001 From: epot Date: Thu, 20 Jun 2024 15:48:42 +0200 Subject: [PATCH] [WARP-942] Make terminationGracePeriodSeconds configurable --- charts/warpstream-agent/CHANGELOG.md | 8 +++++++- charts/warpstream-agent/Chart.yaml | 2 +- charts/warpstream-agent/templates/deployment.yaml | 2 +- charts/warpstream-agent/values.yaml | 2 ++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/charts/warpstream-agent/CHANGELOG.md b/charts/warpstream-agent/CHANGELOG.md index a1d7a7b..b2812ee 100644 --- a/charts/warpstream-agent/CHANGELOG.md +++ b/charts/warpstream-agent/CHANGELOG.md @@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.12.23] - 2024-06-19 +## [0.12.25] - 2024-06-20 + +### Added + +- make `terminationGracePeriodSeconds` customizable + +## [0.12.24] - 2024-06-19 ### Added diff --git a/charts/warpstream-agent/Chart.yaml b/charts/warpstream-agent/Chart.yaml index c73c189..93bc960 100644 --- a/charts/warpstream-agent/Chart.yaml +++ b/charts/warpstream-agent/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: warpstream-agent description: WarpStream Agent for Kubernetes. type: application -version: 0.12.24 +version: 0.12.25 appVersion: v567 icon: https://avatars.githubusercontent.com/u/132156278 home: https://docs.warpstream.com/warpstream/ diff --git a/charts/warpstream-agent/templates/deployment.yaml b/charts/warpstream-agent/templates/deployment.yaml index 0e9bba0..aecd319 100644 --- a/charts/warpstream-agent/templates/deployment.yaml +++ b/charts/warpstream-agent/templates/deployment.yaml @@ -38,7 +38,7 @@ spec: {{- if .Values.priorityClassName }} priorityClassName: {{ .Values.priorityClassName | quote }} {{- end }} - terminationGracePeriodSeconds: 300 + terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} containers: - name: {{ .Chart.Name }} securityContext: diff --git a/charts/warpstream-agent/values.yaml b/charts/warpstream-agent/values.yaml index 96d9479..b4d0122 100644 --- a/charts/warpstream-agent/values.yaml +++ b/charts/warpstream-agent/values.yaml @@ -15,6 +15,8 @@ replicas: 3 deploymentStrategy: type: RollingUpdate +terminationGracePeriodSeconds: 300 + serviceAccount: # Specifies whether a service account should be created create: true