Allow bk cluster init to restart on failure (#303)
### Motivation This is essentially the same as https://github.com/apache/pulsar-helm-chart/pull/176. Without this change, an init pod can fail and be in `Error` state even though the second pod succeeded. This will prevent misleading errors. ### Modifications * Replace `Never` with `OnFailure` ### Verifying this change This is a trivial change.
This commit is contained in:
parent
25f355e6e2
commit
48501ebe84
@ -88,6 +88,6 @@ spec:
|
|||||||
{{- include "pulsar.toolset.certs.volumeMounts" . | nindent 8 }}
|
{{- include "pulsar.toolset.certs.volumeMounts" . | nindent 8 }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- include "pulsar.toolset.certs.volumes" . | nindent 6 }}
|
{{- include "pulsar.toolset.certs.volumes" . | nindent 6 }}
|
||||||
restartPolicy: Never
|
restartPolicy: OnFailure
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user