From 625b1ced0d01d02e2f181189a771adb948b40d87 Mon Sep 17 00:00:00 2001 From: Serge Logvinov Date: Tue, 24 Oct 2023 07:47:26 +0300 Subject: [PATCH] chore: release v0.4.0 Release 0.4.0 Signed-off-by: Serge Logvinov --- CHANGELOG.md | 36 +++++++++++++++-- Makefile | 1 + charts/proxmox-csi-plugin/Chart.yaml | 18 ++++----- charts/proxmox-csi-plugin/README.md | 2 +- docs/deploy/proxmox-csi-plugin-release.yml | 32 +++++++-------- docs/deploy/proxmox-csi-plugin-talos.yml | 45 +++++++++++----------- docs/deploy/proxmox-csi-plugin.yml | 30 +++++++-------- pkg/csi/driver.go | 2 +- 8 files changed, 98 insertions(+), 68 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8219d5b..6e3a7c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,35 @@ + +## [v0.4.0](https://github.com/sergelogvinov/proxmox-csi-plugin/compare/v0.3.0...v0.4.0) (2023-10-24) + +Welcome to the v0.4.0 release of Proxmox CSI Plugin! + +### Bug Fixes + +- check volume existence +- helm create namespace +- remove nocloud label + +### Features + +- mkfs block/inode size options +- disk speed limit +- **chart:** make StorageClass parameters/mountOptions configurable + +### Changelog + +* df245fd chore: release v0.4.0 +* 9e5a139 chore: bump deps +* aba0ca8 fix: check volume existence +* a78e338 feat(chart): make StorageClass parameters/mountOptions configurable +* 364b8be fix: helm create namespace +* 74e42b2 fix: remove nocloud label +* 88f4ebc feat: mkfs block/inode size options +* c464dab feat: disk speed limit +* a243ffb chore: bump deps + -## [v0.3.0](https://github.com/sergelogvinov/proxmox-csi-plugin/compare/v0.2.0...v0.3.0) (2023-09-18) +## [v0.3.0](https://github.com/sergelogvinov/proxmox-csi-plugin/compare/v0.2.0...v0.3.0) (2023-09-19) Welcome to the v0.3.0 release of Proxmox CSI Plugin! @@ -12,6 +41,7 @@ Welcome to the v0.3.0 release of Proxmox CSI Plugin! ### Changelog +* 324ad91 chore: release v0.3.0 * 5f5d781 chore: bump deps * 5e57204 docs: storage class options * 26c1928 feat: storage encryption @@ -21,10 +51,9 @@ Welcome to the v0.3.0 release of Proxmox CSI Plugin! * ae63a06 chore: bump deps * c7d1541 feat: regional block devices * 4ceef77 chore: bump deps -* 6a2d98a chore: release v0.2.0 -## [v0.2.0](https://github.com/sergelogvinov/proxmox-csi-plugin/compare/v0.1.1...v0.2.0) (2023-08-04) +## [v0.2.0](https://github.com/sergelogvinov/proxmox-csi-plugin/compare/v0.1.1...v0.2.0) (2023-08-07) Welcome to the v0.2.0 release of Proxmox CSI Plugin! @@ -46,6 +75,7 @@ Welcome to the v0.2.0 release of Proxmox CSI Plugin! ### Changelog +* 6a2d98a chore: release v0.2.0 * a24d24e fix: skip lxc containers on resize process * cd4f3f7 feat: noatime flag for ssd * b477132 chore: bump actions versions diff --git a/Makefile b/Makefile index 5d40df1..1142a73 100644 --- a/Makefile +++ b/Makefile @@ -98,6 +98,7 @@ helm-release: ## Helm Release .PHONY: docs docs: + yq -i '.appVersion = "$(TAG)"' charts/proxmox-csi-plugin/Chart.yaml helm template -n csi-proxmox proxmox-csi-plugin \ -f charts/proxmox-csi-plugin/values.edge.yaml \ charts/proxmox-csi-plugin > docs/deploy/proxmox-csi-plugin.yml diff --git a/charts/proxmox-csi-plugin/Chart.yaml b/charts/proxmox-csi-plugin/Chart.yaml index 939bbb7..c7d580e 100644 --- a/charts/proxmox-csi-plugin/Chart.yaml +++ b/charts/proxmox-csi-plugin/Chart.yaml @@ -5,22 +5,20 @@ type: application home: https://github.com/sergelogvinov/proxmox-csi-plugin icon: https://proxmox.com/templates/yoo_nano2/favicon.ico sources: -- https://github.com/sergelogvinov/proxmox-csi-plugin + - https://github.com/sergelogvinov/proxmox-csi-plugin keywords: -- storage -- block-storage -- volume + - storage + - block-storage + - volume maintainers: -- name: sergelogvinov - url: https://github.com/sergelogvinov - + - name: sergelogvinov + url: https://github.com/sergelogvinov # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.11 - +version: 0.1.12 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: v0.3.0 +appVersion: v0.4.0 diff --git a/charts/proxmox-csi-plugin/README.md b/charts/proxmox-csi-plugin/README.md index 6890a1a..b285e63 100644 --- a/charts/proxmox-csi-plugin/README.md +++ b/charts/proxmox-csi-plugin/README.md @@ -1,6 +1,6 @@ # proxmox-csi-plugin -![Version: 0.1.10](https://img.shields.io/badge/Version-0.1.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.3.0](https://img.shields.io/badge/AppVersion-v0.3.0-informational?style=flat-square) +![Version: 0.1.12](https://img.shields.io/badge/Version-0.1.12-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.4.0](https://img.shields.io/badge/AppVersion-v0.4.0-informational?style=flat-square) A CSI plugin for Proxmox diff --git a/docs/deploy/proxmox-csi-plugin-release.yml b/docs/deploy/proxmox-csi-plugin-release.yml index a68c60d..e15d4b9 100644 --- a/docs/deploy/proxmox-csi-plugin-release.yml +++ b/docs/deploy/proxmox-csi-plugin-release.yml @@ -16,10 +16,10 @@ metadata: name: proxmox-csi-plugin-controller namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.10 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm --- # Source: proxmox-csi-plugin/templates/serviceaccount.yaml @@ -29,10 +29,10 @@ metadata: name: proxmox-csi-plugin-node namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.10 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm --- # Source: proxmox-csi-plugin/templates/controller-clusterrole.yaml @@ -42,10 +42,10 @@ metadata: name: proxmox-csi-plugin-controller namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.10 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm rules: - apiGroups: [""] @@ -85,10 +85,10 @@ metadata: name: proxmox-csi-plugin-node namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.10 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm rules: - apiGroups: @@ -133,10 +133,10 @@ metadata: name: proxmox-csi-plugin-controller namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.10 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm rules: - apiGroups: ["coordination.k8s.io"] @@ -175,10 +175,10 @@ metadata: name: proxmox-csi-plugin-node namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.10 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm spec: updateStrategy: @@ -214,7 +214,7 @@ spec: - DAC_OVERRIDE seccompProfile: type: RuntimeDefault - image: "ghcr.io/sergelogvinov/proxmox-csi-node:v0.3.0" + image: "ghcr.io/sergelogvinov/proxmox-csi-node:v0.4.0" imagePullPolicy: IfNotPresent args: - "-v=5" @@ -318,10 +318,10 @@ metadata: name: proxmox-csi-plugin-controller namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.10 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm spec: replicas: 1 @@ -362,7 +362,7 @@ spec: readOnlyRootFilesystem: true seccompProfile: type: RuntimeDefault - image: "ghcr.io/sergelogvinov/proxmox-csi-controller:v0.3.0" + image: "ghcr.io/sergelogvinov/proxmox-csi-controller:v0.4.0" imagePullPolicy: IfNotPresent args: - "-v=5" diff --git a/docs/deploy/proxmox-csi-plugin-talos.yml b/docs/deploy/proxmox-csi-plugin-talos.yml index 4a2dc27..bf16313 100644 --- a/docs/deploy/proxmox-csi-plugin-talos.yml +++ b/docs/deploy/proxmox-csi-plugin-talos.yml @@ -16,10 +16,10 @@ metadata: name: proxmox-csi-plugin-controller namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.6 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm --- # Source: proxmox-csi-plugin/templates/serviceaccount.yaml @@ -29,10 +29,10 @@ metadata: name: proxmox-csi-plugin-node namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.6 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm --- # Source: proxmox-csi-plugin/templates/storageclass.yaml @@ -68,10 +68,10 @@ metadata: name: proxmox-csi-plugin-controller namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.6 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm rules: - apiGroups: [""] @@ -111,10 +111,10 @@ metadata: name: proxmox-csi-plugin-node namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.6 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm rules: - apiGroups: @@ -159,10 +159,10 @@ metadata: name: proxmox-csi-plugin-controller namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.6 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm rules: - apiGroups: ["coordination.k8s.io"] @@ -201,10 +201,10 @@ metadata: name: proxmox-csi-plugin-node namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.6 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm spec: updateStrategy: @@ -240,7 +240,7 @@ spec: - DAC_OVERRIDE seccompProfile: type: RuntimeDefault - image: "ghcr.io/sergelogvinov/proxmox-csi-node:v0.3.0" + image: "ghcr.io/sergelogvinov/proxmox-csi-node:v0.4.0" imagePullPolicy: IfNotPresent args: - "-v=5" @@ -272,7 +272,7 @@ spec: # readOnlyRootFilesystem: true seccompProfile: type: RuntimeDefault - image: "registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0" + image: "registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.0" imagePullPolicy: IfNotPresent args: - "-v=5" @@ -296,7 +296,7 @@ spec: readOnlyRootFilesystem: true seccompProfile: type: RuntimeDefault - image: "registry.k8s.io/sig-storage/livenessprobe:v2.10.0" + image: "registry.k8s.io/sig-storage/livenessprobe:v2.11.0" imagePullPolicy: IfNotPresent args: - "-v=5" @@ -341,10 +341,10 @@ metadata: name: proxmox-csi-plugin-controller namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.6 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm spec: replicas: 1 @@ -385,7 +385,7 @@ spec: readOnlyRootFilesystem: true seccompProfile: type: RuntimeDefault - image: "ghcr.io/sergelogvinov/proxmox-csi-controller:v0.3.0" + image: "ghcr.io/sergelogvinov/proxmox-csi-controller:v0.4.0" imagePullPolicy: IfNotPresent args: - "-v=5" @@ -409,7 +409,7 @@ spec: readOnlyRootFilesystem: true seccompProfile: type: RuntimeDefault - image: "registry.k8s.io/sig-storage/csi-attacher:v4.3.0" + image: "registry.k8s.io/sig-storage/csi-attacher:v4.4.0" imagePullPolicy: IfNotPresent args: - "-v=5" @@ -433,7 +433,7 @@ spec: readOnlyRootFilesystem: true seccompProfile: type: RuntimeDefault - image: "registry.k8s.io/sig-storage/csi-provisioner:v3.5.0" + image: "registry.k8s.io/sig-storage/csi-provisioner:v3.6.0" imagePullPolicy: IfNotPresent args: - "-v=5" @@ -469,7 +469,7 @@ spec: readOnlyRootFilesystem: true seccompProfile: type: RuntimeDefault - image: "registry.k8s.io/sig-storage/csi-resizer:v1.8.0" + image: "registry.k8s.io/sig-storage/csi-resizer:v1.9.0" imagePullPolicy: IfNotPresent args: - "-v=5" @@ -493,7 +493,7 @@ spec: readOnlyRootFilesystem: true seccompProfile: type: RuntimeDefault - image: "registry.k8s.io/sig-storage/livenessprobe:v2.10.0" + image: "registry.k8s.io/sig-storage/livenessprobe:v2.11.0" imagePullPolicy: IfNotPresent args: - "-v=5" @@ -537,3 +537,4 @@ spec: storageCapacity: true volumeLifecycleModes: - Persistent + # - Ephemeral diff --git a/docs/deploy/proxmox-csi-plugin.yml b/docs/deploy/proxmox-csi-plugin.yml index 7f28526..e8c1028 100644 --- a/docs/deploy/proxmox-csi-plugin.yml +++ b/docs/deploy/proxmox-csi-plugin.yml @@ -16,10 +16,10 @@ metadata: name: proxmox-csi-plugin-controller namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.10 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm --- # Source: proxmox-csi-plugin/templates/serviceaccount.yaml @@ -29,10 +29,10 @@ metadata: name: proxmox-csi-plugin-node namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.10 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm --- # Source: proxmox-csi-plugin/templates/storageclass.yaml @@ -59,8 +59,8 @@ volumeBindingMode: WaitForFirstConsumer reclaimPolicy: Delete parameters: csi.storage.k8s.io/fstype: ext4 - storage: data ssd: "true" + storage: data --- # Source: proxmox-csi-plugin/templates/controller-clusterrole.yaml apiVersion: rbac.authorization.k8s.io/v1 @@ -69,10 +69,10 @@ metadata: name: proxmox-csi-plugin-controller namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.10 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm rules: - apiGroups: [""] @@ -112,10 +112,10 @@ metadata: name: proxmox-csi-plugin-node namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.10 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm rules: - apiGroups: @@ -160,10 +160,10 @@ metadata: name: proxmox-csi-plugin-controller namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.10 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm rules: - apiGroups: ["coordination.k8s.io"] @@ -202,10 +202,10 @@ metadata: name: proxmox-csi-plugin-node namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.10 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm spec: updateStrategy: @@ -345,10 +345,10 @@ metadata: name: proxmox-csi-plugin-controller namespace: csi-proxmox labels: - helm.sh/chart: proxmox-csi-plugin-0.1.10 + helm.sh/chart: proxmox-csi-plugin-0.1.12 app.kubernetes.io/name: proxmox-csi-plugin app.kubernetes.io/instance: proxmox-csi-plugin - app.kubernetes.io/version: "v0.3.0" + app.kubernetes.io/version: "v0.4.0" app.kubernetes.io/managed-by: Helm spec: replicas: 1 diff --git a/pkg/csi/driver.go b/pkg/csi/driver.go index e0e027f..946c6a0 100644 --- a/pkg/csi/driver.go +++ b/pkg/csi/driver.go @@ -21,7 +21,7 @@ const ( // DriverName is the name of the CSI driver DriverName = "csi.proxmox.sinextra.dev" // DriverVersion is the version of the CSI driver - DriverVersion = "0.2.0" + DriverVersion = "0.3.0" // StorageIDKey is the ID of the Proxmox storage StorageIDKey = "storage"