k8s-csi-s3/deploy/kubernetes/examples/secret.yaml
2023-03-11 00:40:17 +09:00

14 lines
482 B
YAML

apiVersion: v1
kind: Secret
metadata:
namespace: kube-system
name: csi-s3-secret
stringData:
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: ""
# For S3-compatible set it to bucket lookup style (choices: Auto [default], DNS, Path)
#bucketLookup: ""