Skip to content

Commit

Permalink
Make the backup can run when zookeeper reconfig enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
zymap committed Feb 6, 2024
1 parent 6882d25 commit 7abfc3a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ data:
secureClientPort: "{{ .Values.zookeeper.ports.clientTls }}"
PULSAR_PREFIX_secureClientPort: "{{ .Values.zookeeper.ports.clientTls }}"
{{- end }}
{{- if .Values.zookeeper.reconfig.enabled }}
PULSAR_PREFIX_reconfigEnabled: "true"
PULSAR_PREFIX_quorumListenOnAllIPs: "true"
{{- end }}
PULSAR_PREFIX_peerType: "observer"
{{ toYaml .Values.zookeeper.customTools.backup.configData | indent 2 }}
# Include log configuration file, If you want to configure the log level and other configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ spec:
{{ range $i, $e := until (.Values.zookeeper.replicaCount | int) }}{{ if ne $i 0 }},{{ end }}{{ template "pulsar.fullname" $global }}-{{ $global.Values.zookeeper.component }}-{{ printf "%d" $i }}{{ end }}
envFrom:
- configMapRef:
name: "{{ template "pulsar.fullname" . }}-{{ .Values.zookeeper.component }}"
name: "{{ template "pulsar.fullname" . }}-backup"
{{- if .Values.zookeeper.probe.readiness.enabled }}
readinessProbe:
exec:
Expand Down

0 comments on commit 7abfc3a

Please sign in to comment.