Skip to content

Commit

Permalink
S3 miss the region/useVirtualHost settings (#13)
Browse files Browse the repository at this point in the history
Signed-off-by: mufu <[email protected]>
Co-authored-by: mufu <[email protected]>
  • Loading branch information
orrn and mufu authored Oct 7, 2023
1 parent d33175b commit 8df0802
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/milvus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ The following table lists the configurable parameters of the Milvus Service and
| `externalS3.useIAM` | If true, use iam to connect to the external S3 | `false` |
| `externalS3.cloudProvider` | When `useIAM` enabled, only "aws" & "gcp" is supported for now | `aws` |
| `externalS3.iamEndpoint` | The IAM endpoint of the external S3 | `` |
| `externalS3.region` | The region of the external S3 | `` |
| `externalS3.useVirtualHost` | If true, the external S3 whether use virtual host bucket mode | `` |
| `externalGcs.bucketName` | The Bucket Name of the external GCS. Requires GCS gateway to be enabled in the minIO configuration | `unset` |
| `externalEtcd.enabled` | Enable or disable external Etcd | `false` |
| `externalEtcd.endpoints` | The endpoints of the external etcd | `{}` |
Expand Down
4 changes: 4 additions & 0 deletions charts/milvus/templates/config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ minio:
useIAM: {{ .Values.externalS3.useIAM }}
cloudProvider: {{ .Values.externalS3.cloudProvider }}
iamEndpoint: {{ .Values.externalS3.iamEndpoint }}
region: {{ .Values.externalS3.region }}
useVirtualHost: {{ .Values.externalS3.useVirtualHost }}
{{- else }}
{{- if contains .Values.minio.name .Release.Name }}
address: {{ .Release.Name }}
Expand All @@ -96,6 +98,8 @@ minio:
rootPath: {{ .Values.minio.rootPath }}
useIAM: {{ .Values.minio.useIAM }}
iamEndpoint: {{ .Values.minio.iamEndpoint }}
region: {{ .Values.minio.region }}
useVirtualHost: {{ .Values.minio.useVirtualHost }}
{{- end }}

{{- if .Values.externalPulsar.enabled }}
Expand Down
4 changes: 4 additions & 0 deletions charts/milvus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,8 @@ minio:
rootPath: file
useIAM: false
iamEndpoint: ""
region: ""
useVirtualHost: false
podDisruptionBudget:
enabled: false
resources:
Expand Down Expand Up @@ -869,6 +871,8 @@ externalS3:
useIAM: false
cloudProvider: "aws"
iamEndpoint: ""
region: ""
useVirtualHost: false

###################################
# GCS Gateway
Expand Down

0 comments on commit 8df0802

Please sign in to comment.