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

Commit 877c3a3

Browse files
externalKafka: Allow configuring kafka sasl_plain authentication (#341)
1 parent 106d58a commit 877c3a3

4 files changed

Lines changed: 18 additions & 1 deletion

File tree

charts/milvus/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: milvus
33
appVersion: "2.0.2"
44
kubeVersion: "^1.10.0-0"
55
description: Milvus is an open-source vector database built to power AI applications and vector similarity search.
6-
version: 3.0.24
6+
version: 3.0.25
77
keywords:
88
- milvus
99
- elastic

charts/milvus/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ The following table lists the configurable parameters of the Milvus Service and
150150
| `externalPulsar.port` | The port of the external Pulsar | `6650` |
151151
| `externalKafka.enabled` | Enable or disable external Kafka | `false` |
152152
| `externalKafka.brokerList` | The brokerList of the external Kafka separated by comma | `localhost:9092` |
153+
| `externalKafka.securityProtocol` | The securityProtocol used for kafka authentication | `SASL_SSL` |
154+
| `externalKafka.sasl.mechanisms` | SASL mechanism to use for kafka authentication | `PLAIN` |
155+
| `externalKafka.sasl.username` | username for PLAIN or SASL/PLAIN authentication | `` |
156+
| `externalKafka.sasl.password` | password for PLAIN or SASL/PLAIN authentication | `` |
153157
=======
154158
| Parameter | Description | Default |
155159
| ----------------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |

charts/milvus/templates/config.tpl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ pulsar:
7575

7676
kafka:
7777
brokerList: {{ .Values.externalKafka.brokerList }}
78+
securityProtocol: {{ .Values.externalKafka.securityProtocol }}
79+
saslMechanisms: {{ .Values.externalKafka.sasl.mechanisms }}
80+
{{- if .Values.externalKafka.sasl.username }}
81+
saslUsername: {{ .Values.externalKafka.sasl.username }}
82+
{{- end }}
83+
{{- if .Values.externalKafka.sasl.password }}
84+
saslPassword: {{ .Values.externalKafka.sasl.password }}
85+
{{- end }}
7886
{{- else if .Values.kafka.enabled }}
7987

8088
kafka:

charts/milvus/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,3 +739,8 @@ externalPulsar:
739739
externalKafka:
740740
enabled: false
741741
brokerList: localhost:9092
742+
securityProtocol: SASL_SSL
743+
sasl:
744+
mechanisms: PLAIN
745+
username: ""
746+
password: ""

0 commit comments

Comments
 (0)