Files
dilverseandGitHub 3014aecfae Use kserve.io annotations instead of kubeflow.org in doc samples (#2528)
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]>
2022-11-15 19:31:46 -05:00

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