Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions deploy/helm/csi-s3/templates/csi-s3.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.csiS3.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down Expand Up @@ -127,3 +128,4 @@ spec:
hostPath:
path: /run/systemd
type: DirectoryOrCreate
{{- end -}}
2 changes: 2 additions & 0 deletions deploy/helm/csi-s3/templates/driver.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.driver.create -}}
apiVersion: storage.k8s.io/v1
kind: CSIDriver
metadata:
Expand All @@ -8,3 +9,4 @@ spec:
fsGroupPolicy: File # added in Kubernetes 1.19, this field is GA as of Kubernetes 1.23
volumeLifecycleModes: # added in Kubernetes 1.16, this field is beta
- Persistent
{{- end -}}
2 changes: 2 additions & 0 deletions deploy/helm/csi-s3/templates/provisioner.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.provisioner.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down Expand Up @@ -114,3 +115,4 @@ spec:
volumes:
- name: socket-dir
emptyDir: {}
{{- end -}}
28 changes: 18 additions & 10 deletions deploy/helm/csi-s3/values.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
---
images:
# Source: quay.io/k8scsi/csi-node-driver-registrar:v1.2.0
registrar: cr.yandex/crp9ftr22d26age3hulg/yandex-cloud/csi-s3/csi-node-driver-registrar:v1.2.0
registrar: "cr.yandex/crp9ftr22d26age3hulg/yandex-cloud/csi-s3/csi-node-driver-registrar:v1.2.0"
# Source: quay.io/k8scsi/csi-provisioner:v2.1.0
provisioner: cr.yandex/crp9ftr22d26age3hulg/yandex-cloud/csi-s3/csi-provisioner:v2.1.0
provisioner: "cr.yandex/crp9ftr22d26age3hulg/yandex-cloud/csi-s3/csi-provisioner:v2.1.0"
# Main image
csi: cr.yandex/crp9ftr22d26age3hulg/yandex-cloud/csi-s3/csi-s3-driver:0.43.0
csi: "cr.yandex/crp9ftr22d26age3hulg/yandex-cloud/csi-s3/csi-s3-driver:0.43.0"

storageClass:
# Specifies whether the storage class should be created
create: true
# Name
name: csi-s3
name: "csi-s3"
# Use a single bucket for all dynamically provisioned persistent volumes
singleBucket: ""
# mounter to use - either geesefs, s3fs or rclone (default geesefs)
mounter: geesefs
mounter: "geesefs"
# GeeseFS mount options
mountOptions: "--memory-limit 1000 --dir-mode 0777 --file-mode 0666"
# Volume reclaim policy
reclaimPolicy: Delete
reclaimPolicy: "Delete"
# Annotations for the storage class
# Example:
# annotations:
Expand All @@ -30,13 +29,13 @@ secret:
# Specifies whether the secret should be created
create: true
# Name of the secret
name: csi-s3-secret
name: "csi-s3-secret"
# S3 Access Key
accessKey: ""
# S3 Secret Key
secretKey: ""
# Endpoint
endpoint: https://storage.yandexcloud.net
endpoint: "https://storage.yandexcloud.net"
# Region
region: ""

Expand All @@ -47,4 +46,13 @@ tolerations:

nodeSelector: {}

kubeletPath: /var/lib/kubelet
kubeletPath: "/var/lib/kubelet"

csiS3:
create: true

driver:
create: true

provisioner:
create: true