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

Commit

Permalink
Service port name template according to Istio naming convention (#451)
Browse files Browse the repository at this point in the history
Signed-off-by: Gleb Vazhenin <[email protected]>
  • Loading branch information
punkerpunker authored Jun 13, 2023
1 parent 029e012 commit cb83653
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 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.2.9"
kubeVersion: "^1.10.0-0"
description: Milvus is an open-source vector database built to power AI applications and vector similarity search.
version: 4.0.23
version: 4.0.24
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 @@ -161,6 +161,7 @@ The following table lists the configurable parameters of the Milvus Service and
| `extraConfigFiles` | Extra config to override default milvus.yaml | `user.yaml:` |
| `service.type` | Service type | `ClusterIP` |
| `service.port` | Port where service is exposed | `19530` |
| `service.portName` | Useful for [Istio protocol selection](https://istio.io/latest/docs/ops/configuration/traffic-management/protocol-selection/) | `milvus` |
| `service.nodePort` | Service nodePort | `unset` |
| `service.annotations` | Service annotations | `{}` |
| `service.labels` | Service custom labels | `{}` |
Expand Down
4 changes: 2 additions & 2 deletions charts/milvus/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
type: {{ .Values.service.type }}
{{- end }}
ports:
- name: milvus
- name: {{ .Values.service.portName }}
port: {{ .Values.service.port }}
protocol: TCP
targetPort: milvus
Expand All @@ -56,4 +56,4 @@ spec:
{{- else if and .Values.proxy.enabled .Values.cluster.enabled }}
component: "proxy"
{{- end }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions charts/milvus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ extraConfigFiles:
service:
type: ClusterIP
port: 19530
portName: milvus
nodePort: ""
annotations: {}
labels: {}
Expand Down

0 comments on commit cb83653

Please sign in to comment.