diff --git a/bitnami/thanos/Chart.yaml b/bitnami/thanos/Chart.yaml index f18a937a0a..b61955f32b 100644 --- a/bitnami/thanos/Chart.yaml +++ b/bitnami/thanos/Chart.yaml @@ -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 diff --git a/bitnami/thanos/README.md b/bitnami/thanos/README.md index d5023abff2..1c886a9504 100644 --- a/bitnami/thanos/README.md +++ b/bitnami/thanos/README.md @@ -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 | `""` | diff --git a/bitnami/thanos/templates/receive/statefulset.yaml b/bitnami/thanos/templates/receive/statefulset.yaml index d58faabc8a..5c999ef864 100644 --- a/bitnami/thanos/templates/receive/statefulset.yaml +++ b/bitnami/thanos/templates/receive/statefulset.yaml @@ -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 }} diff --git a/bitnami/thanos/values.yaml b/bitnami/thanos/values.yaml index 1ef908d979..95bc681a5f 100644 --- a/bitnami/thanos/values.yaml +++ b/bitnami/thanos/values.yaml @@ -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: {}