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:
|
- configMapRef:
|
||||||
name: "{{ template "pulsar.fullname" . }}-{{ .Values.autorecovery.component }}"
|
name: "{{ template "pulsar.fullname" . }}-{{ .Values.autorecovery.component }}"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
{{- if .Values.autorecovery.extraVolumeMounts }}
|
||||||
|
{{ toYaml .Values.autorecovery.extraVolumeMounts | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- include "pulsar.autorecovery.certs.volumeMounts" . | nindent 8 }}
|
{{- include "pulsar.autorecovery.certs.volumeMounts" . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.autorecovery.initContainers }}
|
{{- if .Values.autorecovery.initContainers }}
|
||||||
@ -156,6 +159,9 @@ spec:
|
|||||||
{{- include "pulsar.autorecovery.certs.volumeMounts" . | nindent 8 }}
|
{{- include "pulsar.autorecovery.certs.volumeMounts" . | nindent 8 }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- include "pulsar.autorecovery.certs.volumes" . | nindent 6 }}
|
{{- include "pulsar.autorecovery.certs.volumes" . | nindent 6 }}
|
||||||
|
{{- if .Values.autorecovery.extraVolumes }}
|
||||||
|
{{ toYaml .Values.autorecovery.extraVolumes | indent 6 }}
|
||||||
|
{{- end }}
|
||||||
{{- include "pulsar.imagePullSecrets" . | nindent 6}}
|
{{- include "pulsar.imagePullSecrets" . | nindent 6}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|||||||
@ -852,6 +852,8 @@ autorecovery:
|
|||||||
BOOKIE_MEM: >
|
BOOKIE_MEM: >
|
||||||
-Xms64m -Xmx64m
|
-Xms64m -Xmx64m
|
||||||
PULSAR_PREFIX_useV2WireProtocol: "true"
|
PULSAR_PREFIX_useV2WireProtocol: "true"
|
||||||
|
extraVolumes: []
|
||||||
|
extraVolumeMounts: []
|
||||||
|
|
||||||
## Pulsar Zookeeper metadata. The metadata will be deployed as
|
## Pulsar Zookeeper metadata. The metadata will be deployed as
|
||||||
## soon as the last zookeeper node is reachable. The deployment
|
## soon as the last zookeeper node is reachable. The deployment
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user