Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
Fix pulsar empty port (#318)
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Zeng <[email protected]>
  • Loading branch information
LoveEachDay authored Mar 23, 2022
1 parent 5c1b01e commit 1d9e100
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/milvus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: milvus
appVersion: "2.0.1"
kubeVersion: "^1.10.0-0"
description: Milvus is an open-source vector database built to power AI applications and vector similarity search.
version: 3.0.12
version: 3.0.13
keywords:
- milvus
- elastic
Expand Down
11 changes: 1 addition & 10 deletions charts/milvus/templates/config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,7 @@ pulsar:
{{- else }}
address: {{ .Release.Name }}-{{ .Values.pulsar.name }}-proxy
{{- end }}
{{- $httpPort := "" -}}
{{- $httpsPort := "" -}}
{{- range .Values.pulsar.proxy.service.ports }}
{{- if eq .name "pulsar" }}
{{- $httpPort = .port -}}
{{- else if eq .name "pulsarssl" }}
{{- $httpsPort = .port -}}
{{- end }}
{{- end }}
port: {{ $httpsPort | default $httpPort }}
port: {{ .Values.pulsar.proxy.ports.pulsar }}
{{- end }}

rocksmq:
Expand Down
2 changes: 2 additions & 0 deletions charts/milvus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,8 @@ pulsar:
cpu: 1
service:
type: ClusterIP
ports:
pulsar: 6650
configData:
PULSAR_MEM: >
-Xms2048m -Xmx2048m
Expand Down

0 comments on commit 1d9e100

Please sign in to comment.