This is an automated email from the ASF dual-hosted git repository.

abhishek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 6b0b1d7af3 replaces hard-coded probe delays with helm values (#12805)
6b0b1d7af3 is described below

commit 6b0b1d7af317d1a6b219cf1213139abf1607eaa0
Author: Jacques Arnoux <[email protected]>
AuthorDate: Tue Jul 26 01:34:06 2022 -0700

    replaces hard-coded probe delays with helm values (#12805)
---
 helm/druid/Chart.yaml                            | 2 +-
 helm/druid/templates/historical/statefulset.yaml | 4 ++--
 helm/druid/values.yaml                           | 3 +++
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/helm/druid/Chart.yaml b/helm/druid/Chart.yaml
index 5cf6fa7e43..c52a4207e4 100644
--- a/helm/druid/Chart.yaml
+++ b/helm/druid/Chart.yaml
@@ -30,7 +30,7 @@ dependencies:
     version: 8.6.4
     repository: https://charts.helm.sh/stable
     condition: postgresql.enabled
-version: 0.3.0
+version: 0.3.1
 home: https://druid.apache.org/
 icon: https://druid.apache.org/img/favicon.png
 sources:
diff --git a/helm/druid/templates/historical/statefulset.yaml 
b/helm/druid/templates/historical/statefulset.yaml
index 62032b53ff..9065ae2767 100644
--- a/helm/druid/templates/historical/statefulset.yaml
+++ b/helm/druid/templates/historical/statefulset.yaml
@@ -105,12 +105,12 @@ spec:
         resources:
 {{ toYaml .Values.historical.resources | indent 12 }}
         livenessProbe:
-          initialDelaySeconds: 60
+          initialDelaySeconds: {{ 
.Values.historical.livenessProbeInitialDelaySeconds }}
           httpGet:
             path: /status/health
             port: {{ .Values.historical.port }}
         readinessProbe:
-          initialDelaySeconds: 60
+          initialDelaySeconds: {{ 
.Values.historical.readinessProbeInitialDelaySeconds }}
           httpGet:
             path: /status/health
             port: {{ .Values.historical.port }}
diff --git a/helm/druid/values.yaml b/helm/druid/values.yaml
index 63d113cd57..000cfbf61a 100644
--- a/helm/druid/values.yaml
+++ b/helm/druid/values.yaml
@@ -233,6 +233,9 @@ historical:
     #   cpu: 500m
     #   memory: 512Mi
 
+  livenessProbeInitialDelaySeconds: 60
+  readinessProbeInitialDelaySeconds: 60
+
   ## (dict) If specified, apply these annotations to each master Pod
   podAnnotations: {}
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to