Skip to content

Commit c5a755e

Browse files
committed
feat(milvus): update Milvus configuration to use URI and remove deprecated host/port settings
1 parent 77150f2 commit c5a755e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

backend/services/rag-indexer-service/src/main/java/com/datamate/rag/indexer/infrastructure/milvus/MilvusService.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@
3939
@Slf4j
4040
@Component
4141
public class MilvusService {
42-
@Value("${datamate.rag.milvus-host:milvus}")
43-
private String milvusHost;
44-
@Value("${datamate.rag.milvus-port:19530}")
45-
private int milvusPort;
4642
@Value("${datamate.rag.milvus-uri:http://milvus-standalone:19530}")
4743
private String milvusUri;
4844
private static final Gson GSON;

deployment/helm/datamate/charts/backend/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ spec:
6060
env:
6161
{{- toYaml . | nindent 12 }}
6262
{{- end }}
63+
- name: datamate.rag.milvus-uri
64+
value: {{ .Values.milvus.uri | default "http://milvus:19530" | quote }}
6365
{{- with .Values.volumeMounts }}
6466
volumeMounts:
6567
{{- toYaml . | nindent 12 }}

deployment/helm/datamate/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ backend:
8080
env:
8181
- name: DB_PASSWORD
8282
value: *dbPass
83+
- name: datamate.rag.milvus-uri
84+
value: "http://milvus:19530"
8385
volumes:
8486
- *datasetVolume
8587
- *flowVolume

0 commit comments

Comments
 (0)