Skip to content

Commit

Permalink
Merge pull request #73 from warpstreamlabs/epot/terminationGracePerio…
Browse files Browse the repository at this point in the history
…dSeconds

Make terminationGracePeriodSeconds configurable
  • Loading branch information
epot authored Jun 20, 2024
2 parents e0c8bb6 + d048197 commit e42691c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 7 additions & 1 deletion charts/warpstream-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion charts/warpstream-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion charts/warpstream-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }}
{{- end }}
terminationGracePeriodSeconds: 300
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down
2 changes: 2 additions & 0 deletions charts/warpstream-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ replicas: 3
deploymentStrategy:
type: RollingUpdate

terminationGracePeriodSeconds: 300

serviceAccount:
# Specifies whether a service account should be created
create: true
Expand Down

0 comments on commit e42691c

Please sign in to comment.