diff --git a/s3-csi/kustomization.yaml b/s3-csi/kustomization.yaml index 4d823bf..10c4a17 100644 --- a/s3-csi/kustomization.yaml +++ b/s3-csi/kustomization.yaml @@ -5,6 +5,8 @@ namespace: kube-system resources: - resources/secret.s3.yaml + - resources/secret.garage.yaml + - resources/storageClass.garage.yaml images: - name: registrar diff --git a/s3-csi/resources/secret.garage.yaml b/s3-csi/resources/secret.garage.yaml new file mode 100644 index 0000000..6e02184 Binary files /dev/null and b/s3-csi/resources/secret.garage.yaml differ diff --git a/s3-csi/resources/storageClass.garage.yaml b/s3-csi/resources/storageClass.garage.yaml new file mode 100644 index 0000000..0ab17e1 --- /dev/null +++ b/s3-csi/resources/storageClass.garage.yaml @@ -0,0 +1,19 @@ +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: garage +provisioner: ru.yandex.s3.csi +parameters: + bucket: csi + csi.storage.k8s.io/controller-publish-secret-name: csi-s3-garage-secret + csi.storage.k8s.io/controller-publish-secret-namespace: kube-system + csi.storage.k8s.io/node-publish-secret-name: csi-s3-garage-secret + csi.storage.k8s.io/node-publish-secret-namespace: kube-system + csi.storage.k8s.io/node-stage-secret-name: csi-s3-garage-secret + csi.storage.k8s.io/node-stage-secret-namespace: kube-system + csi.storage.k8s.io/provisioner-secret-name: csi-s3-garage-secret + csi.storage.k8s.io/provisioner-secret-namespace: kube-system + mounter: geesefs + options: '--memory-limit 1000 --dir-mode 0777 --file-mode 0666' +reclaimPolicy: Delete +volumeBindingMode: Immediate