e334aedd0c
Add support for optional secrets |
||
---|---|---|
.. | ||
templates | ||
Chart.yaml | ||
manifest.yaml | ||
README.md | ||
values.yaml |
Helm chart for csi-s3
This chart adds S3 volume support to your cluster.
Install chart
- Helm 2.x:
helm install [--set secret.accessKey=... --set secret.secretKey=... ...] --namespace kube-system --name csi-s3 .
- Helm 3.x:
helm install [--set secret.accessKey=... --set secret.secretKey=... ...] --namespace kube-system csi-s3 .
After installation succeeds, you can get a status of Chart: helm status csi-s3
.
Delete Chart
- Helm 2.x:
helm delete --purge csi-s3
- Helm 3.x:
helm uninstall csi-s3 --namespace kube-system
Configuration
By default, this chart creates a secret and a storage class. You should at least set secret.accessKey
and secret.secretKey
to your Yandex Object Storage keys for it to work.
The following table lists all configuration parameters and their default values.
Parameter | Description | Default |
---|---|---|
storageClass.create |
Specifies whether the storage class should be created | true |
storageClass.name |
Storage class name | csi-s3 |
storageClass.singleBucket |
Use a single bucket for all dynamically provisioned persistent volumes | |
storageClass.mounter |
Mounter to use. Either geesefs, s3fs or rclone. geesefs recommended | geesefs |
storageClass.mountOptions |
GeeseFS mount options | --memory-limit 1000 --dir-mode 0777 --file-mode 0666 |
storageClass.reclaimPolicy |
Volume reclaim policy | Delete |
storageClass.annotations |
Annotations for the storage class | |
secret.create |
Specifies whether the secret should be created | true |
secret.name |
Name of the secret | csi-s3-secret |
secret.accessKey |
S3 Access Key | |
secret.secretKey |
S3 Secret Key | |
secret.endpoint |
Endpoint | https://storage.yandexcloud.net |
tolerations.all |
Tolerate all taints by the CSI-S3 node driver (mounter) | false |
tolerations.node |
Custom tolerations for the CSI-S3 node driver (mounter) | [] |
tolerations.controller |
Custom tolerations for the CSI-S3 controller (provisioner) | [] |