Skip to content

Commit

Permalink
fix: Run milvus deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Butler <[email protected]>
  • Loading branch information
butler54 committed Jun 20, 2024
1 parent 2af6f9a commit 8c48e26
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 27 deletions.
61 changes: 34 additions & 27 deletions charts/all/milvus/templates/milvus-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,34 @@
# apiVersion: milvus.io/v1beta1
# kind: Milvus
# metadata:
# name: milvus-test
# namespace: milvus
# labels:
# app: milvus
# spec:
# config: {}

# dependencies:
# storage:
# external:
# type: s3
# endpoint: s3.amazonaws.com


# etcd:
# inCluster:
# values:
# replicaCount: 3
# resources:
# limits:
# cpu: 1
# memory: 4Gi
# deletionPolicy: Delete
# pvcDeletion: true
apiVersion: milvus.io/v1beta1
kind: Milvus
metadata:
name: milvus-test
namespace: milvus
labels:
app: milvus
spec:
config: {}
minio:
# your bucket name
bucketName: milvus
# Optional, config the prefix of the bucket milvus will use
rootPath: test-v1
useSSL: true
dependencies:
storage:
# enable external object storage
external: true
type: S3 # MinIO | S3
# the endpoint of AWS S3
endpoint: s3.openshift-storage.svc:443
# the secret storing the access key and secret key
secretRef: "milvus-obc-clean"
etcd:
inCluster:
values:
replicaCount: 3
resources:
limits:
cpu: 1
memory: 4Gi
deletionPolicy: Delete
pvcDeletion: true
18 changes: 18 additions & 0 deletions charts/all/milvus/templates/milvus-eso.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
apiVersion: "external-secrets.io/v1beta1"
kind: ExternalSecret
metadata:
name: milvus-obc-eso
namespace: milvus
spec:
refreshInterval: 15s
secretStoreRef:
name: {{ .Values.secretStore.name }}
kind: {{ .Values.secretStore.kind }}
target:
name: milvus-obc-clean
template:
type: Opaque
dataFrom:
- extract:
key: 'secret/data/global/milvus-s3'

0 comments on commit 8c48e26

Please sign in to comment.