This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git
The following commit(s) were added to refs/heads/master by this push:
new 41dd2f5 Fix #175 cluster initialize blocked when fail (#176)
41dd2f5 is described below
commit 41dd2f50340214f304b0953c1ab58f7056c0e4ca
Author: shaoyue <[email protected]>
AuthorDate: Wed Jan 5 22:10:09 2022 +0800
Fix #175 cluster initialize blocked when fail (#176)
---
charts/pulsar/templates/pulsar-cluster-initialize.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/charts/pulsar/templates/pulsar-cluster-initialize.yaml
b/charts/pulsar/templates/pulsar-cluster-initialize.yaml
index 7c4bd66..aeab8f3 100644
--- a/charts/pulsar/templates/pulsar-cluster-initialize.yaml
+++ b/charts/pulsar/templates/pulsar-cluster-initialize.yaml
@@ -100,11 +100,11 @@ spec:
--web-service-url http://{{ template "pulsar.fullname" . }}-{{
.Values.broker.component }}.{{ template "pulsar.namespace" . }}.svc.{{
.Values.clusterDomain }}:{{ .Values.broker.ports.http }}/ \
--web-service-url-tls https://{{ template "pulsar.fullname" .
}}-{{ .Values.broker.component }}.{{ template "pulsar.namespace" . }}.svc.{{
.Values.clusterDomain }}:{{ .Values.broker.ports.https }}/ \
--broker-service-url pulsar://{{ template "pulsar.fullname" .
}}-{{ .Values.broker.component }}.{{ template "pulsar.namespace" . }}.svc.{{
.Values.clusterDomain }}:{{ .Values.broker.ports.pulsar }}/ \
- --broker-service-url-tls pulsar+ssl://{{ template
"pulsar.fullname" . }}-{{ .Values.broker.component }}.{{ template
"pulsar.namespace" . }}.svc.{{ .Values.clusterDomain }}:{{
.Values.broker.ports.pulsarssl }}/ || true;
+ --broker-service-url-tls pulsar+ssl://{{ template
"pulsar.fullname" . }}-{{ .Values.broker.component }}.{{ template
"pulsar.namespace" . }}.svc.{{ .Values.clusterDomain }}:{{
.Values.broker.ports.pulsarssl }}/ ;
volumeMounts:
{{- include "pulsar.toolset.certs.volumeMounts" . | nindent 8 }}
volumes:
{{- include "pulsar.toolset.certs.volumes" . | nindent 6 }}
- restartPolicy: Never
+ restartPolicy: OnFailure
{{- end }}
{{- end }}