diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 5cefed9..3a4d1eb 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 name: longhorn version: 1.1.2 appVersion: v1.1.2 -kubeVersion: ">=v1.16.0-r0" +kubeVersion: ">=1.18.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: - longhorn diff --git a/chart/templates/clusterrole.yaml b/chart/templates/clusterrole.yaml index cd5aafb..5adbadd 100644 --- a/chart/templates/clusterrole.yaml +++ b/chart/templates/clusterrole.yaml @@ -29,7 +29,7 @@ rules: resources: ["priorityclasses"] verbs: ["watch", "list"] - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses", "volumeattachments", "csinodes", "csidrivers"] + resources: ["storageclasses", "volumeattachments", "volumeattachments/status", "csinodes", "csidrivers"] verbs: ["*"] - apiGroups: ["snapshot.storage.k8s.io"] resources: ["volumesnapshotclasses", "volumesnapshots", "volumesnapshotcontents", "volumesnapshotcontents/status"] diff --git a/chart/templates/storageclass.yaml b/chart/templates/storageclass.yaml index dea6aaf..311b927 100644 --- a/chart/templates/storageclass.yaml +++ b/chart/templates/storageclass.yaml @@ -20,6 +20,9 @@ data: numberOfReplicas: "{{ .Values.persistence.defaultClassReplicaCount }}" staleReplicaTimeout: "30" fromBackup: "" + {{- if .Values.persistence.defaultFsType }} + fsType: "{{.Values.persistence.defaultFsType}}" + {{- end }} baseImage: "" {{- if .Values.persistence.recurringJobs.enable }} recurringJobs: '{{ .Values.persistence.recurringJobs.jobList }}' diff --git a/chart/values.yaml b/chart/values.yaml index fc6c63b..c158484 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -28,19 +28,19 @@ image: csi: attacher: repository: longhornio/csi-attacher - tag: v2.2.1-lh2 + tag: v3.2.1 provisioner: repository: longhornio/csi-provisioner - tag: v1.6.0-lh2 + tag: v2.1.2 nodeDriverRegistrar: repository: longhornio/csi-node-driver-registrar - tag: v1.2.0-lh1 + tag: v2.3.0 resizer: repository: longhornio/csi-resizer - tag: v0.5.1-lh2 + tag: v1.2.0 snapshotter: repository: longhornio/csi-snapshotter - tag: v2.1.1-lh2 + tag: v3.0.3 pullPolicy: IfNotPresent service: @@ -53,6 +53,7 @@ service: persistence: defaultClass: true + defaultFsType: ext4 defaultClassReplicaCount: 3 reclaimPolicy: Delete recurringJobs: diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 35f8d3b..ac03c10 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -1,8 +1,8 @@ -longhornio/csi-attacher:v2.2.1-lh2 -longhornio/csi-node-driver-registrar:v1.2.0-lh1 -longhornio/csi-provisioner:v1.6.0-lh2 -longhornio/csi-resizer:v0.5.1-lh2 -longhornio/csi-snapshotter:v2.1.1-lh2 +longhornio/csi-attacher:v3.2.1 +longhornio/csi-node-driver-registrar:v2.3.0 +longhornio/csi-provisioner:v2.1.2 +longhornio/csi-resizer:v1.2.0 +longhornio/csi-snapshotter:v3.0.3 longhornio/backing-image-manager:v1_20210422 longhornio/longhorn-engine:v1.1.2 longhornio/longhorn-instance-manager:v1_20210621 diff --git a/deploy/release-images.txt b/deploy/release-images.txt deleted file mode 100644 index 35f8d3b..0000000 --- a/deploy/release-images.txt +++ /dev/null @@ -1,11 +0,0 @@ -longhornio/csi-attacher:v2.2.1-lh2 -longhornio/csi-node-driver-registrar:v1.2.0-lh1 -longhornio/csi-provisioner:v1.6.0-lh2 -longhornio/csi-resizer:v0.5.1-lh2 -longhornio/csi-snapshotter:v2.1.1-lh2 -longhornio/backing-image-manager:v1_20210422 -longhornio/longhorn-engine:v1.1.2 -longhornio/longhorn-instance-manager:v1_20210621 -longhornio/longhorn-manager:v1.1.2 -longhornio/longhorn-share-manager:v1_20210416 -longhornio/longhorn-ui:v1.1.2 diff --git a/examples/storageclass.yaml b/examples/storageclass.yaml index 96c06d9..0acab73 100644 --- a/examples/storageclass.yaml +++ b/examples/storageclass.yaml @@ -17,6 +17,7 @@ data: numberOfReplicas: "2" staleReplicaTimeout: "2880" fromBackup: "" + fsType: "ext4" # backingImage: "bi-test" # backingImageURL: "https://backing-image-example.s3-region.amazonaws.com/test-backing-image" # diskSelector: "ssd,fast"