Skip to content

Commit 93bde66

Browse files
authored
[IDE] Milvus and ChromDB discovery (#218)
* [IDE] Mounting Milvus secret in Python IDE + adding latest library-chart with NOTES * [IDE] Update default values for milvus discovery
1 parent 96b8e1c commit 93bde66

20 files changed

Lines changed: 92 additions & 5 deletions

charts/jupyter-pyspark/Chart.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ type: application
2424
# This is the chart version. This version number should be incremented each time you make changes
2525
# to the chart and its templates, including the app version.
2626
# Versions are expected to follow Semantic Versioning (https://semver.org/)
27-
28-
version: 2.3.1
27+
version: 2.3.2
2928
dependencies:
3029
- name: library-chart
3130
version: 1.7.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ include "library-chart.secretMilvus" . }}

charts/jupyter-pyspark/templates/statefulset.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ spec:
4747
{{- if not (empty (trim (include "library-chart.secretChromaDB" .))) }}
4848
checksum/chromadb: {{ include (print $.Template.BasePath "/secret-chromadb.yaml") . | sha256sum }}
4949
{{- end }}
50+
{{- if not (empty (trim (include "library-chart.secretMilvus" .))) }}
51+
checksum/milvus: {{ include (print $.Template.BasePath "/secret-milvus.yaml") . | sha256sum }}
52+
{{- end }}
5053
{{- if (include "library-chart.repository.enabled" .) }}
5154
checksum/repository: {{ include (print $.Template.BasePath "/configmap-repository.yaml") . | sha256sum }}
5255
{{- end }}
@@ -278,6 +281,10 @@ spec:
278281
- secretRef:
279282
name: {{ include "library-chart.secretNameChromaDB" . }}
280283
{{- end }}
284+
{{- if not (empty (trim (include "library-chart.secretMilvus" .))) }}
285+
- secretRef:
286+
name: {{ include "library-chart.secretNameMilvus" . }}
287+
{{- end }}
281288
{{- if .Values.extraEnvVars }}
282289
- secretRef:
283290
name: {{ include "library-chart.secretNameExtraEnv" . }}

charts/jupyter-pyspark/values.schema.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,16 @@
651651
"title": "Discover Metaflow services",
652652
"type": "boolean",
653653
"default": true
654+
},
655+
"chromadb": {
656+
"title": "Discover ChromaDB services",
657+
"type": "boolean",
658+
"default": true
659+
},
660+
"milvus": {
661+
"title": "Discover Milvus services",
662+
"type": "boolean",
663+
"default": true
654664
}
655665
}
656666
},

charts/jupyter-pyspark/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ discovery:
115115
mlflow: true
116116
metaflow: true
117117
chromadb: true
118+
milvus: true
118119

119120
hive:
120121
secretName: ""
@@ -128,6 +129,9 @@ metaflow:
128129
chromadb:
129130
secretName: ""
130131

132+
milvus:
133+
secretName: ""
134+
131135
coresite:
132136
secretName: ""
133137

charts/jupyter-python/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type: application
2222
# This is the chart version. This version number should be incremented each time you make changes
2323
# to the chart and its templates, including the app version.
2424
# Versions are expected to follow Semantic Versioning (https://semver.org/)
25-
version: 2.3.2
25+
version: 2.3.3
2626
dependencies:
2727
- name: library-chart
2828
version: 1.7.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ include "library-chart.secretMilvus" . }}

charts/jupyter-python/templates/statefulset.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ spec:
4141
{{- if not (empty (trim (include "library-chart.secretChromaDB" .))) }}
4242
checksum/chromadb: {{ include (print $.Template.BasePath "/secret-chromadb.yaml") . | sha256sum }}
4343
{{- end }}
44+
{{- if not (empty (trim (include "library-chart.secretMilvus" .))) }}
45+
checksum/milvus: {{ include (print $.Template.BasePath "/secret-milvus.yaml") . | sha256sum }}
46+
{{- end }}
4447
{{- if (include "library-chart.repository.enabled" .) }}
4548
checksum/repository: {{ include (print $.Template.BasePath "/configmap-repository.yaml") . | sha256sum }}
4649
{{- end }}
@@ -229,6 +232,10 @@ spec:
229232
- secretRef:
230233
name: {{ include "library-chart.secretNameChromaDB" . }}
231234
{{- end }}
235+
{{- if not (empty (trim (include "library-chart.secretMilvus" .))) }}
236+
- secretRef:
237+
name: {{ include "library-chart.secretNameMilvus" . }}
238+
{{- end }}
232239
{{- if .Values.extraEnvVars }}
233240
- secretRef:
234241
name: {{ include "library-chart.secretNameExtraEnv" . }}

charts/jupyter-python/values.schema.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,16 @@
604604
"title": "Discover Metaflow services",
605605
"type": "boolean",
606606
"default": true
607+
},
608+
"chromadb": {
609+
"title": "Discover ChromaDB services",
610+
"type": "boolean",
611+
"default": true
612+
},
613+
"milvus": {
614+
"title": "Discover Milvus services",
615+
"type": "boolean",
616+
"default": true
607617
}
608618
}
609619
},

charts/jupyter-python/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ discovery:
8585
mlflow: true
8686
metaflow: true
8787
chromadb: true
88+
milvus: true
8889

8990
hive:
9091
secretName: ""
@@ -98,6 +99,9 @@ metaflow:
9899
chromadb:
99100
secretName: ""
100101

102+
milvus:
103+
secretName: ""
104+
101105
coresite:
102106
secretName: ""
103107

0 commit comments

Comments
 (0)