File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,9 @@ spec:
123
123
- |
124
124
bin/certs-combine-pem.sh /pulsar/certs/cacerts/ca-combined.pem {{ template "pulsar.certs.cacerts" (dict "certs" .Values.tls.autorecovery.cacerts.certs) }}
125
125
volumeMounts :
126
+ {{- if .Values.autorecovery.initContainersExtraVolumeMounts }}
127
+ {{ toYaml .Values.autorecovery.initContainersExtraVolumeMounts | indent 8 }}
128
+ {{- end }}
126
129
{{- include "pulsar.autorecovery.certs.volumeMounts" . | nindent 8 }}
127
130
{{- end }}
128
131
{{- if and .Values.autorecovery.waitBookkeeperTimeout (gt (.Values.autorecovery.waitBookkeeperTimeout | int) 0) }}
@@ -140,8 +143,8 @@ spec:
140
143
- configMapRef :
141
144
name : " {{ template " pulsar.fullname" . }}-{{ .Values.autorecovery.component }}"
142
145
volumeMounts :
143
- {{- if .Values.autorecovery.extraVolumeMounts }}
144
- {{ toYaml .Values.autorecovery.extraVolumeMounts | indent 8 }}
146
+ {{- if .Values.autorecovery.initContainersExtraVolumeMounts }}
147
+ {{ toYaml .Values.autorecovery.initContainersExtraVolumeMounts | indent 8 }}
145
148
{{- end }}
146
149
{{- include "pulsar.autorecovery.certs.volumeMounts" . | nindent 8 }}
147
150
{{- end }}
@@ -174,6 +177,9 @@ spec:
174
177
- configMapRef :
175
178
name : " {{ template " pulsar.fullname" . }}-{{ .Values.autorecovery.component }}"
176
179
volumeMounts :
180
+ {{- if .Values.autorecovery.extraVolumeMounts }}
181
+ {{ toYaml .Values.autorecovery.extraVolumeMounts | indent 8 }}
182
+ {{- end }}
177
183
{{- include "pulsar.autorecovery.certs.volumeMounts" . | nindent 8 }}
178
184
volumes :
179
185
{{- include "pulsar.autorecovery.certs.volumes" . | nindent 6 }}
Original file line number Diff line number Diff line change @@ -949,6 +949,7 @@ autorecovery:
949
949
-Xms64m -Xmx64m
950
950
PULSAR_PREFIX_useV2WireProtocol : " true"
951
951
extraVolumes : []
952
+ initContainersExtraVolumeMounts : []
952
953
extraVolumeMounts : []
953
954
954
955
# # Pulsar Zookeeper metadata. The metadata will be deployed as
You can’t perform that action at this time.
0 commit comments