[bitnami/thanos] add terminationGracePeriodSeconds (#25315)

Signed-off-by: Alec Rajeev <13004609+alecrajeev@users.noreply.github.com>
This commit is contained in:
Alec Rajeev
2024-04-23 05:50:58 -04:00
committed by GitHub
parent fcce78faba
commit aff45b2f5d
4 changed files with 8 additions and 1 deletions

View File

@@ -35,4 +35,4 @@ maintainers:
name: thanos
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/thanos
version: 15.1.2
version: 15.1.3

View File

@@ -1315,6 +1315,7 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru
| `receive.dnsConfig` | Deployment pod DNS config | `{}` |
| `receive.dnsPolicy` | Deployment pod DNS policy | `""` |
| `receive.hostAliases` | Deployment pod host aliases | `[]` |
| `receive.terminationGracePeriodSeconds` | for the Thanos Receive containers(s) to extend the grace period | `""` |
| `receive.lifecycleHooks` | for the Thanos Receive container(s) to automate configuration before or after startup | `{}` |
| `receive.priorityClassName` | Thanos Receive priorityClassName | `""` |
| `receive.schedulerName` | Name of the k8s scheduler (other than default) for Thanos Receive pods | `""` |

View File

@@ -82,6 +82,9 @@ spec:
{{- if .Values.receive.podSecurityContext.enabled }}
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.receive.podSecurityContext "context" $) | nindent 8 }}
{{- end }}
{{- if .Values.receive.terminationGracePeriodSeconds }}
terminationGracePeriodSeconds: {{ .Values.receive.terminationGracePeriodSeconds }}
{{- end }}
{{- if .Values.receive.topologySpreadConstraints }}
topologySpreadConstraints: {{- include "common.tplvalues.render" (dict "value" .Values.receive.topologySpreadConstraints "context" $) | nindent 8 }}
{{- end }}

View File

@@ -4137,6 +4137,9 @@ receive:
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
hostAliases: []
## @param receive.terminationGracePeriodSeconds for the Thanos Receive containers(s) to extend the grace period
##
terminationGracePeriodSeconds: ""
## @param receive.lifecycleHooks for the Thanos Receive container(s) to automate configuration before or after startup
##
lifecycleHooks: {}