Copy example into readme

This commit is contained in:
Vitaliy Filippov 2021-07-27 14:54:17 +03:00
parent f2a8688511
commit 8dd363598d

View file

@ -16,17 +16,16 @@ This is a Container Storage Interface ([CSI](https://github.com/container-storag
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
namespace: kube-system
name: csi-s3-secret name: csi-s3-secret
# Namespace depends on the configuration in the storageclass.yaml # Namespace depends on the configuration in the storageclass.yaml
namespace: kube-system namespace: kube-system
stringData: stringData:
accessKeyID: <YOUR_ACCESS_KEY_ID> accessKeyID: <YOUR_ACCESS_KEY_ID>
secretAccessKey: <YOUR_SECRET_ACCES_KEY> secretAccessKey: <YOUR_SECRET_ACCESS_KEY>
# For AWS set it to "https://s3.<region>.amazonaws.com" # For AWS set it to "https://s3.<region>.amazonaws.com", for example https://s3.eu-central-1.amazonaws.com
endpoint: <S3_ENDPOINT_URL> endpoint: https://storage.yandexcloud.net
# If not on S3, set it to "" # For AWS set it to AWS region
region: <S3_REGION> #region: ""
``` ```
The region can be empty if you are using some other S3 compatible storage. The region can be empty if you are using some other S3 compatible storage.