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

21 lines
877 B
YAML
Raw Normal View History

2018-07-14 08:48:22 +00:00
---
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: csi-s3
2021-07-27 10:05:32 +00:00
provisioner: ru.yandex.s3.csi
parameters:
mounter: geesefs
2021-07-26 21:07:28 +00:00
# you can set mount options here, for example limit memory cache size (recommended)
options: "--memory-limit 1000 --dir-mode 0777 --file-mode 0666"
# to use an existing bucket, specify it here:
2021-07-26 21:07:28 +00:00
#bucket: some-existing-bucket
csi.storage.k8s.io/provisioner-secret-name: csi-s3-secret
csi.storage.k8s.io/provisioner-secret-namespace: kube-system
csi.storage.k8s.io/controller-publish-secret-name: csi-s3-secret
csi.storage.k8s.io/controller-publish-secret-namespace: kube-system
csi.storage.k8s.io/node-stage-secret-name: csi-s3-secret
csi.storage.k8s.io/node-stage-secret-namespace: kube-system
csi.storage.k8s.io/node-publish-secret-name: csi-s3-secret
csi.storage.k8s.io/node-publish-secret-namespace: kube-system