k8s-csi-s3/deploy/kubernetes/examples/secret.yaml

15 lines
482 B
YAML
Raw Normal View History

2018-07-14 08:48:22 +00:00
apiVersion: v1
kind: Secret
metadata:
namespace: kube-system
2018-07-14 08:48:22 +00:00
name: csi-s3-secret
stringData:
2021-07-27 10:21:18 +00:00
accessKeyID: YOUR_ACCESS_KEY_ID
secretAccessKey: YOUR_SECRET_ACCESS_KEY
# For AWS set it to "https://s3.<region>.amazonaws.com", for example https://s3.eu-central-1.amazonaws.com
endpoint: https://storage.yandexcloud.net
# For AWS set it to AWS region
#region: ""
2023-03-10 15:40:17 +00:00
# For S3-compatible set it to bucket lookup style (choices: Auto [default], DNS, Path)
#bucketLookup: ""