Copy example into readme
This commit is contained in:
parent
f2a8688511
commit
8dd363598d
1 changed files with 5 additions and 6 deletions
11
README.md
11
README.md
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue