From bc5632efe845e3f337b51a4d74337c181cc04482 Mon Sep 17 00:00:00 2001 From: Joseph Glanville Date: Tue, 24 Aug 2021 13:33:46 +0700 Subject: [PATCH] Define configuration store settings on proxy configmap This is required to active websockets and while it can be provided via proxy.configData this is more ergonomic for users of the chart. --- charts/pulsar/templates/proxy-configmap.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/charts/pulsar/templates/proxy-configmap.yaml b/charts/pulsar/templates/proxy-configmap.yaml index a0698783..9bec4634 100644 --- a/charts/pulsar/templates/proxy-configmap.yaml +++ b/charts/pulsar/templates/proxy-configmap.yaml @@ -27,6 +27,15 @@ metadata: {{- include "pulsar.standardLabels" . | nindent 4 }} component: {{ .Values.proxy.component }} data: + # Metadata settings + zookeeperServers: "{{ template "pulsar.zookeeper.connect" . }}{{ .Values.metadataPrefix }}" + {{- if .Values.pulsar_metadata.configurationStore }} + configurationStoreServers: "{{ template "pulsar.configurationStore.connect" . }}{{ .Values.pulsar_metadata.configurationStoreMetadataPrefix }}" + {{- end }} + {{- if not .Values.pulsar_metadata.configurationStore }} + configurationStoreServers: "{{ template "pulsar.zookeeper.connect" . }}{{ .Values.metadataPrefix }}" + {{- end }} + clusterName: {{ template "pulsar.cluster.name" . }} httpNumThreads: "8" statusFilePath: "{{ template "pulsar.home" . }}/status"