mirror of
https://github.com/bitnami/charts.git
synced 2026-02-28 15:37:42 +08:00
[bitnami/wordpress] add terminationGracePeriodSeconds (#15993)
Signed-off-by: gmautner <gilberto.mautner@locaweb.com.br> Signed-off-by: corico44 <42420333+corico44@users.noreply.github.com> Co-authored-by: corico44 <42420333+corico44@users.noreply.github.com>
This commit is contained in:
@@ -35,4 +35,4 @@ name: wordpress
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/wordpress
|
||||
- https://wordpress.org/
|
||||
version: 15.3.5
|
||||
version: 15.4.0
|
||||
|
||||
@@ -143,6 +143,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `replicaCount` | Number of WordPress replicas to deploy | `1` |
|
||||
| `updateStrategy.type` | WordPress deployment strategy type | `RollingUpdate` |
|
||||
| `schedulerName` | Alternate scheduler | `""` |
|
||||
| `terminationGracePeriodSeconds` | In seconds, time given to the WordPress pod to terminate gracefully | `""` |
|
||||
| `topologySpreadConstraints` | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template | `[]` |
|
||||
| `priorityClassName` | Name of the existing priority class to be used by WordPress pods, priority class needs to be created beforehand | `""` |
|
||||
| `hostAliases` | WordPress pod host aliases | `[]` |
|
||||
|
||||
@@ -68,6 +68,9 @@ spec:
|
||||
securityContext: {{- omit .Values.podSecurityContext "enabled" | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ include "wordpress.serviceAccountName" .}}
|
||||
{{- if .Values.terminationGracePeriodSeconds }}
|
||||
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
|
||||
{{- end }}
|
||||
{{- if .Values.topologySpreadConstraints }}
|
||||
topologySpreadConstraints: {{- include "common.tplvalues.render" (dict "value" .Values.topologySpreadConstraints "context" .) | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -276,6 +276,10 @@ updateStrategy:
|
||||
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
||||
##
|
||||
schedulerName: ""
|
||||
## @param terminationGracePeriodSeconds In seconds, time given to the WordPress pod to terminate gracefully
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
|
||||
##
|
||||
terminationGracePeriodSeconds: ""
|
||||
## @param topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
|
||||
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user