Merge "(postgres) Add override for termination period"

This commit is contained in:
Zuul 2019-08-29 17:53:52 +00:00 committed by Gerrit Code Review
commit 440b633b1f
2 changed files with 4 additions and 0 deletions

View File

@ -132,6 +132,8 @@ spec:
{{ tuple $envAll "postgresql" "server" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
nodeSelector:
{{ .Values.labels.server.node_selector_key }}: {{ .Values.labels.server.node_selector_value }}
terminationGracePeriodSeconds: {{ .Values.pod.lifecycle.termination_grace_period.server.timeout | default "180" }}
initContainers:
{{ tuple $envAll "postgresql" list | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
- name: set-volume-perms

View File

@ -70,6 +70,8 @@ pod:
termination_grace_period:
prometheus_postgresql_exporter:
timeout: 30
server:
timeout: 180
resources:
enabled: false
server: