add support of extra volumes and mounts for autorecovery (#607)
This commit is contained in:
parent
d4afc985d2
commit
cd701ecedd
@ -127,6 +127,9 @@ spec:
|
||||
- configMapRef:
|
||||
name: "{{ template "pulsar.fullname" . }}-{{ .Values.autorecovery.component }}"
|
||||
volumeMounts:
|
||||
{{- if .Values.autorecovery.extraVolumeMounts }}
|
||||
{{ toYaml .Values.autorecovery.extraVolumeMounts | indent 8 }}
|
||||
{{- end }}
|
||||
{{- include "pulsar.autorecovery.certs.volumeMounts" . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.autorecovery.initContainers }}
|
||||
@ -156,6 +159,9 @@ spec:
|
||||
{{- include "pulsar.autorecovery.certs.volumeMounts" . | nindent 8 }}
|
||||
volumes:
|
||||
{{- include "pulsar.autorecovery.certs.volumes" . | nindent 6 }}
|
||||
{{- if .Values.autorecovery.extraVolumes }}
|
||||
{{ toYaml .Values.autorecovery.extraVolumes | indent 6 }}
|
||||
{{- end }}
|
||||
{{- include "pulsar.imagePullSecrets" . | nindent 6}}
|
||||
{{- end }}
|
||||
|
||||
|
||||
@ -852,6 +852,8 @@ autorecovery:
|
||||
BOOKIE_MEM: >
|
||||
-Xms64m -Xmx64m
|
||||
PULSAR_PREFIX_useV2WireProtocol: "true"
|
||||
extraVolumes: []
|
||||
extraVolumeMounts: []
|
||||
|
||||
## Pulsar Zookeeper metadata. The metadata will be deployed as
|
||||
## soon as the last zookeeper node is reachable. The deployment
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user