diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6036d77..8219d5b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,28 @@
+
+## [v0.3.0](https://github.com/sergelogvinov/proxmox-csi-plugin/compare/v0.2.0...v0.3.0) (2023-09-18)
+
+Welcome to the v0.3.0 release of Proxmox CSI Plugin!
+
+### Features
+
+- storage encryption
+- volume capability
+- regional block devices
+
+### Changelog
+
+* 5f5d781 chore: bump deps
+* 5e57204 docs: storage class options
+* 26c1928 feat: storage encryption
+* f75bfff chore: bump actions/checkout from 3 to 4
+* 1088dbb feat: volume capability
+* 51419d3 chore: bump sigstore/cosign-installer from 3.1.1 to 3.1.2
+* 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)
diff --git a/charts/proxmox-csi-plugin/Chart.yaml b/charts/proxmox-csi-plugin/Chart.yaml
index 9a4160a..fd34e38 100644
--- a/charts/proxmox-csi-plugin/Chart.yaml
+++ b/charts/proxmox-csi-plugin/Chart.yaml
@@ -17,10 +17,10 @@ maintainers:
# 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.5
+version: 0.1.6
# 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.2.0
+appVersion: v0.3.0
diff --git a/charts/proxmox-csi-plugin/README.md b/charts/proxmox-csi-plugin/README.md
index e5c5d6a..c951a31 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.5](https://img.shields.io/badge/Version-0.1.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.2.0](https://img.shields.io/badge/AppVersion-v0.2.0-informational?style=flat-square)
+![Version: 0.1.6](https://img.shields.io/badge/Version-0.1.6-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)
A CSI plugin for Proxmox
diff --git a/charts/proxmox-csi-plugin/templates/controller-deployment.yaml b/charts/proxmox-csi-plugin/templates/controller-deployment.yaml
index 1a1430e..605a1f0 100644
--- a/charts/proxmox-csi-plugin/templates/controller-deployment.yaml
+++ b/charts/proxmox-csi-plugin/templates/controller-deployment.yaml
@@ -148,3 +148,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
+ topologySpreadConstraints:
+ - maxSkew: 1
+ topologyKey: kubernetes.io/hostname
+ whenUnsatisfiable: DoNotSchedule
+ labelSelector:
+ matchLabels:
+ {{- include "proxmox-csi-plugin.selectorLabels" . | nindent 14 }}
diff --git a/charts/proxmox-csi-plugin/templates/node-deployment.yaml b/charts/proxmox-csi-plugin/templates/node-deployment.yaml
index 7142306..deba683 100644
--- a/charts/proxmox-csi-plugin/templates/node-deployment.yaml
+++ b/charts/proxmox-csi-plugin/templates/node-deployment.yaml
@@ -54,8 +54,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- resources:
- {{- toYaml .Values.node.plugin.resources | nindent 12 }}
+ resources: {{- toYaml .Values.node.plugin.resources | nindent 12 }}
volumeMounts:
- name: socket
mountPath: /csi
@@ -86,7 +85,7 @@ spec:
mountPath: /csi
- name: registration
mountPath: /registration
- resources: {{ toYaml .Values.node.driverRegistrar.resources | nindent 12 }}
+ resources: {{- toYaml .Values.node.driverRegistrar.resources | nindent 12 }}
- name: liveness-probe
securityContext:
allowPrivilegeEscalation: false
@@ -104,7 +103,7 @@ spec:
volumeMounts:
- name: socket
mountPath: /csi
- resources: {{ toYaml .Values.livenessprobe.resources | nindent 12 }}
+ resources: {{- toYaml .Values.livenessprobe.resources | nindent 12 }}
volumes:
- name: socket
hostPath:
diff --git a/docs/deploy/proxmox-csi-plugin-talos.yml b/docs/deploy/proxmox-csi-plugin-talos.yml
index 4fc013d..4a2dc27 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.5
+ helm.sh/chart: proxmox-csi-plugin-0.1.6
app.kubernetes.io/name: proxmox-csi-plugin
app.kubernetes.io/instance: proxmox-csi-plugin
- app.kubernetes.io/version: "v0.2.0"
+ app.kubernetes.io/version: "v0.3.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.5
+ helm.sh/chart: proxmox-csi-plugin-0.1.6
app.kubernetes.io/name: proxmox-csi-plugin
app.kubernetes.io/instance: proxmox-csi-plugin
- app.kubernetes.io/version: "v0.2.0"
+ app.kubernetes.io/version: "v0.3.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.5
+ helm.sh/chart: proxmox-csi-plugin-0.1.6
app.kubernetes.io/name: proxmox-csi-plugin
app.kubernetes.io/instance: proxmox-csi-plugin
- app.kubernetes.io/version: "v0.2.0"
+ app.kubernetes.io/version: "v0.3.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.5
+ helm.sh/chart: proxmox-csi-plugin-0.1.6
app.kubernetes.io/name: proxmox-csi-plugin
app.kubernetes.io/instance: proxmox-csi-plugin
- app.kubernetes.io/version: "v0.2.0"
+ app.kubernetes.io/version: "v0.3.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.5
+ helm.sh/chart: proxmox-csi-plugin-0.1.6
app.kubernetes.io/name: proxmox-csi-plugin
app.kubernetes.io/instance: proxmox-csi-plugin
- app.kubernetes.io/version: "v0.2.0"
+ app.kubernetes.io/version: "v0.3.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.5
+ helm.sh/chart: proxmox-csi-plugin-0.1.6
app.kubernetes.io/name: proxmox-csi-plugin
app.kubernetes.io/instance: proxmox-csi-plugin
- app.kubernetes.io/version: "v0.2.0"
+ app.kubernetes.io/version: "v0.3.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.2.0"
+ image: "ghcr.io/sergelogvinov/proxmox-csi-node:v0.3.0"
imagePullPolicy: IfNotPresent
args:
- "-v=5"
@@ -283,7 +283,7 @@ spec:
mountPath: /csi
- name: registration
mountPath: /registration
- resources:
+ resources:
requests:
cpu: 10m
memory: 16Mi
@@ -304,7 +304,7 @@ spec:
volumeMounts:
- name: socket
mountPath: /csi
- resources:
+ resources:
requests:
cpu: 10m
memory: 16Mi
@@ -341,10 +341,10 @@ metadata:
name: proxmox-csi-plugin-controller
namespace: csi-proxmox
labels:
- helm.sh/chart: proxmox-csi-plugin-0.1.5
+ helm.sh/chart: proxmox-csi-plugin-0.1.6
app.kubernetes.io/name: proxmox-csi-plugin
app.kubernetes.io/instance: proxmox-csi-plugin
- app.kubernetes.io/version: "v0.2.0"
+ app.kubernetes.io/version: "v0.3.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.2.0"
+ image: "ghcr.io/sergelogvinov/proxmox-csi-controller:v0.3.0"
imagePullPolicy: IfNotPresent
args:
- "-v=5"
@@ -516,6 +516,15 @@ spec:
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
+ topologySpreadConstraints:
+ - maxSkew: 1
+ topologyKey: kubernetes.io/hostname
+ whenUnsatisfiable: DoNotSchedule
+ labelSelector:
+ matchLabels:
+ app.kubernetes.io/name: proxmox-csi-plugin
+ app.kubernetes.io/instance: proxmox-csi-plugin
+ app.kubernetes.io/component: controller
---
# Source: proxmox-csi-plugin/templates/csidriver.yaml
apiVersion: storage.k8s.io/v1
diff --git a/docs/deploy/proxmox-csi-plugin.yml b/docs/deploy/proxmox-csi-plugin.yml
index ba86d76..e27e0d6 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.5
+ helm.sh/chart: proxmox-csi-plugin-0.1.6
app.kubernetes.io/name: proxmox-csi-plugin
app.kubernetes.io/instance: proxmox-csi-plugin
- app.kubernetes.io/version: "v0.2.0"
+ app.kubernetes.io/version: "v0.3.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.5
+ helm.sh/chart: proxmox-csi-plugin-0.1.6
app.kubernetes.io/name: proxmox-csi-plugin
app.kubernetes.io/instance: proxmox-csi-plugin
- app.kubernetes.io/version: "v0.2.0"
+ app.kubernetes.io/version: "v0.3.0"
app.kubernetes.io/managed-by: Helm
---
# Source: proxmox-csi-plugin/templates/storageclass.yaml
@@ -69,10 +69,10 @@ metadata:
name: proxmox-csi-plugin-controller
namespace: csi-proxmox
labels:
- helm.sh/chart: proxmox-csi-plugin-0.1.5
+ helm.sh/chart: proxmox-csi-plugin-0.1.6
app.kubernetes.io/name: proxmox-csi-plugin
app.kubernetes.io/instance: proxmox-csi-plugin
- app.kubernetes.io/version: "v0.2.0"
+ app.kubernetes.io/version: "v0.3.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.5
+ helm.sh/chart: proxmox-csi-plugin-0.1.6
app.kubernetes.io/name: proxmox-csi-plugin
app.kubernetes.io/instance: proxmox-csi-plugin
- app.kubernetes.io/version: "v0.2.0"
+ app.kubernetes.io/version: "v0.3.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.5
+ helm.sh/chart: proxmox-csi-plugin-0.1.6
app.kubernetes.io/name: proxmox-csi-plugin
app.kubernetes.io/instance: proxmox-csi-plugin
- app.kubernetes.io/version: "v0.2.0"
+ app.kubernetes.io/version: "v0.3.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.5
+ helm.sh/chart: proxmox-csi-plugin-0.1.6
app.kubernetes.io/name: proxmox-csi-plugin
app.kubernetes.io/instance: proxmox-csi-plugin
- app.kubernetes.io/version: "v0.2.0"
+ app.kubernetes.io/version: "v0.3.0"
app.kubernetes.io/managed-by: Helm
spec:
updateStrategy:
@@ -284,7 +284,7 @@ spec:
mountPath: /csi
- name: registration
mountPath: /registration
- resources:
+ resources:
requests:
cpu: 10m
memory: 16Mi
@@ -305,7 +305,7 @@ spec:
volumeMounts:
- name: socket
mountPath: /csi
- resources:
+ resources:
requests:
cpu: 10m
memory: 16Mi
@@ -347,10 +347,10 @@ metadata:
name: proxmox-csi-plugin-controller
namespace: csi-proxmox
labels:
- helm.sh/chart: proxmox-csi-plugin-0.1.5
+ helm.sh/chart: proxmox-csi-plugin-0.1.6
app.kubernetes.io/name: proxmox-csi-plugin
app.kubernetes.io/instance: proxmox-csi-plugin
- app.kubernetes.io/version: "v0.2.0"
+ app.kubernetes.io/version: "v0.3.0"
app.kubernetes.io/managed-by: Helm
spec:
replicas: 1
@@ -522,6 +522,15 @@ spec:
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
+ topologySpreadConstraints:
+ - maxSkew: 1
+ topologyKey: kubernetes.io/hostname
+ whenUnsatisfiable: DoNotSchedule
+ labelSelector:
+ matchLabels:
+ app.kubernetes.io/name: proxmox-csi-plugin
+ app.kubernetes.io/instance: proxmox-csi-plugin
+ app.kubernetes.io/component: controller
---
# Source: proxmox-csi-plugin/templates/csidriver.yaml
apiVersion: storage.k8s.io/v1