Skip to content

Commit ea40c4c

Browse files
authored
feat: add terminationGracePeriodSeconds to app chart (#123)
* feat: add terminationGracePeriodSeconds to app chart * chore: bump chart version * chore: revert yaml format * chore: fix grace shutdown value indent
1 parent 9928903 commit ea40c4c

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

stable/app/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.6.2
18+
version: 0.7.0

stable/app/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,6 @@ spec:
115115
tolerations:
116116
{{- toYaml . | nindent 8 }}
117117
{{- end }}
118+
{{- with .Values.terminationGracePeriodSeconds }}
119+
terminationGracePeriodSeconds: {{ . }}
120+
{{- end }}

stable/app/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,5 @@ autoscaling:
169169
maxReplicas: 2
170170
targetMemory: 80
171171
targetCPU: 80
172+
173+
# terminationGracePeriodSeconds: 30

0 commit comments

Comments
 (0)