You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ja...@apache.org on 2023/12/07 23:26:42 UTC
(pinot) branch master updated: Fix helm chart server probe endpoint backward incompatible (#12114)
This is an automated email from the ASF dual-hosted git repository.
jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new f5f878e1ba Fix helm chart server probe endpoint backward incompatible (#12114)
f5f878e1ba is described below
commit f5f878e1baed67a0c794ab12c7e98c83285a68fa
Author: Alvin Zhang <10...@users.noreply.github.com>
AuthorDate: Thu Dec 7 15:26:36 2023 -0800
Fix helm chart server probe endpoint backward incompatible (#12114)
---
helm/pinot/templates/server/statefulset.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/helm/pinot/templates/server/statefulset.yaml b/helm/pinot/templates/server/statefulset.yaml
index 553c4428cc..071330f6f5 100644
--- a/helm/pinot/templates/server/statefulset.yaml
+++ b/helm/pinot/templates/server/statefulset.yaml
@@ -88,7 +88,7 @@ spec:
initialDelaySeconds: {{ .Values.probes.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.periodSeconds }}
httpGet:
- {{- if .Values.server.probes.livenessProbe.endpoint }}
+ {{- if and .Values.server.probes.livenessProbe .Values.server.probes.livenessProbe.endpoint}}
path: {{ .Values.server.probes.livenessProbe.endpoint }}
{{- else }}
path: {{ .Values.server.probes.endpoint }}
@@ -100,7 +100,7 @@ spec:
initialDelaySeconds: {{ .Values.probes.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.periodSeconds }}
httpGet:
- {{- if .Values.server.probes.readinessProbe.endpoint }}
+ {{- if and .Values.server.probes.readinessProbe .Values.server.probes.readinessProbe.endpoint}}
path: {{ .Values.server.probes.readinessProbe.endpoint }}
{{- else }}
path: {{ .Values.server.probes.endpoint }}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org