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

Commit

Permalink
Add authorization config for milvus (#332)
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Zeng <[email protected]>
  • Loading branch information
LoveEachDay authored Apr 22, 2022
1 parent 1fc7db5 commit 01b79ca
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 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.2"
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.20
version: 3.0.21
keywords:
- milvus
- elastic
Expand Down
1 change: 1 addition & 0 deletions charts/milvus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ The following table lists the configurable parameters of the Milvus Service and
| `metrics.serviceMonitor.enabled` | Create ServiceMonitor for Prometheus operator | `false` |
| `metrics.serviceMonitor.additionalLabels` | Additional labels that can be used so ServiceMonitor will be discovered by Prometheus | `unset` |
| `metadata.rootPath` | Root of key prefix to etcd | `by-dev` |
| `authorization.enabled` | Enable milvus authorization | `false` |
| `log.level` | Logging level to be used. Valid levels are `debug`, `info`, `warn`, `error`, `fatal` | `debug` |
| `log.file.maxSize` | The size limit of the log file (MB) | `300` |
| `log.file.maxAge` | The maximum number of days that the log is retained. (day) | `10` |
Expand Down
2 changes: 2 additions & 0 deletions charts/milvus/templates/config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ common:
defaultPartitionName: "_default" # default partition name for a collection
defaultIndexName: "_default_idx" # default index name
retentionDuration: {{ .Values.dataCoordinator.compaction.retentionDuration }}
security:
authorizationEnabled: {{ .Values.authorization.enabled }}

knowhere:
simdType: {{ .Values.knowhere.simdType }} # default to auto
Expand Down
7 changes: 6 additions & 1 deletion charts/milvus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ msgChannel:
chanNamePrefix:
cluster: "by-dev"

## milvus authorization
##
authorization:
enabled: false

standalone:
replicas: 1 # Run standalone mode with replication disabled
resources: {}
Expand Down Expand Up @@ -605,7 +610,7 @@ pulsar:
-Xms2048m -Xmx2048m
PULSAR_GC: >
-XX:MaxDirectMemorySize=2048m
httpNumThreads: "50"
httpNumThreads: "100"

pulsar_manager:
service:
Expand Down

0 comments on commit 01b79ca

Please sign in to comment.