mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Allow configuring terminationGracePeriodSeconds (#21072)
Signed-off-by: Jocelyn Lussier <jocelyn.lussier2@montreal.ca>
This commit is contained in:
@@ -5,6 +5,10 @@ numbering uses [semantic versioning](http://semver.org).
|
||||
|
||||
NOTE: The change log until version 1.5.7 is auto generated based on git commits. Those include a reference to the git commit to be able to get more details.
|
||||
|
||||
## 1.9.21
|
||||
|
||||
Add `master.terminationGracePeriodSeconds` option
|
||||
|
||||
## 1.9.20
|
||||
|
||||
Update default plugins
|
||||
@@ -16,7 +20,6 @@ Update default plugins
|
||||
- git:4.2.0
|
||||
- configuration-as-code:1.36
|
||||
|
||||
|
||||
## 1.9.19
|
||||
|
||||
Update docs for Helm 3
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: jenkins
|
||||
home: https://jenkins.io/
|
||||
version: 1.9.20
|
||||
version: 1.9.21
|
||||
appVersion: lts
|
||||
description: Open source continuous integration server. It supports multiple SCM tools
|
||||
including CVS, Subversion and Git. It can execute Apache Ant and Apache Maven-based
|
||||
|
||||
@@ -152,6 +152,7 @@ The following tables list the configurable parameters of the Jenkins chart and t
|
||||
| `master.nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
| `master.affinity` | Affinity settings | `{}` |
|
||||
| `master.schedulerName` | Kubernetes scheduler name | Not set |
|
||||
| `master.terminationGracePeriodSeconds` | Set TerminationGracePeriodSeconds | Not set |
|
||||
| `master.tolerations` | Toleration labels for pod assignment | `[]` |
|
||||
| `master.podAnnotations` | Annotations for master pod | `{}` |
|
||||
| `master.deploymentAnnotations` | Annotations for master deployment | `{}` |
|
||||
|
||||
@@ -62,6 +62,9 @@ spec:
|
||||
{{- if .Values.master.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.master.affinity | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if quote .Values.master.terminationGracePeriodSeconds }}
|
||||
terminationGracePeriodSeconds: {{ .Values.master.terminationGracePeriodSeconds }}
|
||||
{{- end }}
|
||||
{{- if and (.Capabilities.APIVersions.Has "scheduling.k8s.io/v1beta1") (.Values.master.priorityClassName) }}
|
||||
priorityClassName: {{ .Values.master.priorityClassName }}
|
||||
|
||||
@@ -318,6 +318,9 @@ master:
|
||||
# ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
|
||||
# ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
|
||||
nodeSelector: {}
|
||||
|
||||
terminationGracePeriodSeconds:
|
||||
|
||||
tolerations: []
|
||||
# Leverage a priorityClass to ensure your pods survive resource shortages
|
||||
# ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
|
||||
|
||||
Reference in New Issue
Block a user