Skip to content

Commit

Permalink
chore(model): sets up minio for model-backend (#1065)
Browse files Browse the repository at this point in the history
related to instill-ai/model-backend#651

Because

- model backend needs to store data in mino

This commit

- added config for minio in model-backend

---------

Co-authored-by: Chang, Hui-Tang <[email protected]>
  • Loading branch information
joremysh and donch1989 authored Aug 13, 2024
1 parent 51b5e01 commit e6a7d1a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ __pycache__
.DS_Store

# Helm rendered test templates
rendered-test-template.yaml
rendered-test-template.yaml
.idea
7 changes: 7 additions & 0 deletions charts/core/templates/model-backend/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,11 @@ data:
https:
cert:
key:
minio:
host: {{ template "core.minio" . }}
port: {{ .Values.modelBackend.minio.port }}
rootuser: {{ .Values.modelBackend.minio.rootuser }}
rootpwd: {{ .Values.modelBackend.minio.rootpwd }}
bucketname: {{ .Values.modelBackend.minio.bucketname }}
secure: {{ .Values.modelBackend.minio.secure }}
{{- end }}
6 changes: 6 additions & 0 deletions charts/core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,12 @@ modelBackend:
spec:
minAvailable:
maxUnavailable:
minio:
port: 9000
rootuser: minioadmin
rootpwd: minioadmin
bucketname: instill-ai-model
secure: false
# -- The configuration of artifact-backend
artifactBackend:
# -- Enable artifact-backend deployment
Expand Down

0 comments on commit e6a7d1a

Please sign in to comment.