From d728ba38dda0351c5e3df14ae54219cf6de99db4 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Tue, 7 May 2024 17:09:51 +0200 Subject: [PATCH] chore(s3-csi): add Garage storage class --- s3-csi/kustomization.yaml | 2 ++ s3-csi/resources/secret.garage.yaml | Bin 0 -> 583 bytes s3-csi/resources/storageClass.garage.yaml | 19 +++++++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 s3-csi/resources/secret.garage.yaml create mode 100644 s3-csi/resources/storageClass.garage.yaml 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 0000000000000000000000000000000000000000..6e02184ff04694efe9906f5d12fb5ed603d6e8ec GIT binary patch literal 583 zcmV-N0=WHQXJsvAZewzJaCB*JZZ2<+ zZCPP!OE@?%XKgQbOK@37H*<7&NpA`*J|I{!H8n9gAT@e8PE}7sIaW$-G+{+!NJUpv zb7F3KWI1(cb3;r+WqD>~aw~9GD{L`y3Pm_XVNX*~T1;(iQaNZvRYP$xZ$wW|Pi1Ur zczSP0R5D~UVKH@Vc}QqY3N0-yAUI8HOn6dxM`0^SQg2X8dSg#_L{2hdOHMOqOI3MH zH)l{zId?NiS87*t3eQ{uEd9^Zzf{DNK@}9dEIr>2i~*B@eLt_-e5`1D8@D0CILPIK zP@tyogST;x_7Fdr=`HhEEIK8YVBka5{D7XL2tg04B@2q{d9_SzwYwrj?UHLXY4Ch6 zoLMYDBP8ys*KI7RGrm(^Re9u76H1Fq8qRgefm8pdjBcLdM*cs6f8l_IXW-v+(t$cu} z#hS)4)0#KqW7bx;NY`Mz`60_sd7G553)1`jznwpLpVYLLlb5Z-rFn-^3|M30DQaA# V0b9L0VbO;$_(CR|483+M)%X3C^W*>k literal 0 HcmV?d00001 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