mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
Update annotations for S3 secretes to use `kserve.io` instead of `kubeflow.org` Signed-off-by: dilverse <[email protected]> Signed-off-by: dilverse <[email protected]> Signed-off-by: dilverse <[email protected]> Signed-off-by: dilverse <[email protected]>
21 lines
787 B
YAML
21 lines
787 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: mysecret
|
|
annotations:
|
|
serving.kserve.io/s3-endpoint: s3.amazonaws.com # replace with your s3 endpoint
|
|
serving.kserve.io/s3-usehttps: "1" # by default 1, for testing with minio you need to set to 0
|
|
serving.kserve.io/s3-region: "us-east-2" # replace with the region the bucket is created in
|
|
serving.kserve.io/s3-useanoncredential: "false" # omitting this is the same as false, if true will ignore credential provided and use anonymous credentials
|
|
type: Opaque
|
|
data:
|
|
AWS_ACCESS_KEY_ID: bWluaW8= # replace with your base64 encoded s3 credential
|
|
AWS_SECRET_ACCESS_KEY: bWluaW8xMjM= # replace with your base64 encoded s3 credential
|
|
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: sa
|
|
secrets:
|
|
- name: mysecret
|