Skip to content

Commit 44e6b88

Browse files
committed
[chromadb] Add configuration for persistent volume size
1 parent 55045f2 commit 44e6b88

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

charts/chromadb/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sources:
1212
- https://github.com/chroma-core/chroma
1313
- https://github.com/amikos-tech/chromadb-chart/
1414
type: application
15-
version: 1.0.3
15+
version: 1.0.4
1616
appVersion: "0.6.3"
1717
dependencies:
1818
- name: chromadb

charts/chromadb/values.schema.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,30 @@
5858
"type": "integer",
5959
"default": 8000
6060
},
61+
"isPersistent": {
62+
"title": "Create a persistent volume",
63+
"type": "boolean",
64+
"default": true
65+
},
66+
"dataVolumeSize": {
67+
"title": "Persistent volume size",
68+
"type": "string",
69+
"default": "5Gi",
70+
"form": true,
71+
"render": "slider",
72+
"sliderMin": 1,
73+
"sliderMax": 100,
74+
"sliderStep": 1,
75+
"sliderUnit": "Gi",
76+
"x-onyxia": {
77+
"useRegionSliderConfig": "disk"
78+
},
79+
"hidden": {
80+
"value": false,
81+
"path": "isPersistent",
82+
"isPathRelative": true
83+
}
84+
},
6185
"auth": {
6286
"title": "Authentication",
6387
"type": "object",

charts/chromadb/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ chromadb:
66
chromadb:
77
apiVersion: "0.6.3"
88
serverHttpPort: 8000
9+
isPersistent: true
10+
dataVolumeSize: "1Gi"
911
auth:
1012
enabled: true
1113
type: basic # possible values: token, basic

0 commit comments

Comments
 (0)