The module lifecycle stage: Generally available version

The module has requirements for installation

v0.5.47

Release date: 2026-12-04

The filesystem check before mounting an RBD volume can be turned off with an annotation on the CephStorageClass, the CSI controllers move to the Pod network, and the module is released again on Deckhouse 1.72 and 1.73 with the admission-policy-engine module enabled.

Highlights

Changes in this release:

  • The storage.deckhouse.io/skip-fsck annotation lets large RBD volumes be mounted without a filesystem check that can take hours.
  • The csi-controller-rbd and csi-controller-cephfs Pods run in the Pod network: allow the Pods of the master nodes to reach the Ceph public network before the update if a firewall or the CNI lets only the node addresses through.
  • On Deckhouse 1.72 and 1.73 with admission-policy-engine enabled, the module release no longer fails with no matches for kind SecurityPolicyException.

New features

This release adds:

  • The storage.deckhouse.io/skip-fsck: "true" annotation on an RBD CephStorageClass makes the driver mount its volumes without running fsck first. Without the annotation the check runs as before. With it, checking the filesystems is the responsibility of the administrator; the FAQ describes the risks, when e2fsck goes through the whole filesystem, and how to check a volume manually.

Improvements

This release improves:

  • The csi-controller-rbd and csi-controller-cephfs Pods run in the Pod network instead of the host network, so their livenessprobe ports 4247 and 4246 are no longer taken on the nodes they run on.
  • node-driver-registrar in the CSI node Pods of RBD and CephFS no longer listens on ports 4252 and 4253 of every node. With storage-foundation enabled, its startup and liveness probes run it in --mode=kubelet-registration-probe, so it is restarted when the registration socket of the driver disappears from the plugin registry of kubelet or stops answering. The check works with storage-foundation v1.2.1 or later, whose node-driver-registrar image performs it; with an earlier version the probes always pass.

Fixes

This release fixes:

  • The CSI node Pods of RBD and CephFS no longer mount /etc/selinux of the node. On a node whose root file system is read-only and has no such directory, such as a Deckhouse Engine node, that mount alone would keep the containers from being created. The driver does not use the directory.
  • On Deckhouse 1.72 and 1.73 with admission-policy-engine enabled, the module release no longer fails with no matches for kind SecurityPolicyException: the SecurityPolicyException objects of the module are rendered only when the deckhouse.io/v1alpha1 SecurityPolicyException API exists in the cluster.
  • When storage-foundation is downloaded from a ModuleSource other than the one of the platform, the CSI controller and node Pods pull the CSI sidecar images of storage-foundation from that source, with its credentials. Before, they looked for the images in the registry of the platform and could not start.

Upgrade notes

Before upgrading, note the following:

  • The annotation applies to volumes created after it was set. Setting or removing it does not change existing volumes; the FAQ describes what to do with them.
  • The csi-controller-rbd and csi-controller-cephfs Pods restart once to move to the Pod network. From then on they reach the Ceph monitors and OSDs from the Pod network: if a firewall or the CNI settings let only the node addresses reach the Ceph public network, allow the Pods of the nodes that run the controllers (the master nodes) before the update.
  • The CSI node Pods of RBD and CephFS are recreated on every node, because their template changes.

Docs

Documentation changes:

  • README lists the components, ports and directions that must be open between the Kubernetes nodes and Ceph, and says which monitor port to set in spec.monitors: with port 3300 alone CephFS volumes are not mounted. FAQ describes how to find a closed port when volumes are neither created nor mounted.

v0.5.46

Release date: 2026-12-01

The controller no longer writes the spec of a CephClusterConnection or a CephStorageClass back when it changes their finalizers, and reconciles a connection whose generation changed while its spec stayed the same.

Highlights

Changes in this release:

  • A CephStorageClass no longer stays at Ready=False with the reason WaitingForDependency after an edit of its CephClusterConnection that raises metadata.generation without changing the values the controller reads.

Fixes

This release fixes:

  • The controller adds and removes its finalizers on a CephClusterConnection and a CephStorageClass without writing their spec back. An RBD class with an empty cephFS section, or a CephFS class with an rbd section and no pool, no longer gets fsName: "" or pool: "" written into its spec and its metadata.generation raised. The controller also reconciles a CephClusterConnection or a CephStorageClass whose generation changed while the decoded spec stayed the same. Before, such a change of a connection was skipped, and its classes stayed at Ready=False with the reason WaitingForDependency and the message CephClusterConnection "<name>" has not been reconciled since its last change until something else, such as a restart of the controller, brought the connection back.

v0.5.45

Release date: 2026-11-26

A CephStorageClass now waits for its connection with Ready=False instead of failing or reporting Ready=True, new alerts fire on connections and classes that are not Ready, and an RBD class reports the allocated size and the space held by deleted volumes.

Highlights

Changes in this release:

  • A CephStorageClass whose CephClusterConnection is missing or not Ready gets Ready=False with the reason WaitingForDependency and turns Ready=True as soon as the connection does.
  • The D8CsiCephStorageConnectionNotReady and D8CsiCephStorageClassNotReady alerts fire when a connection or a class has not been Ready for 15 minutes, and six existing alerts are renamed with the D8CsiCeph prefix; the old names keep firing until the next minor release (see “Upgrade notes”).
  • status.capacity of an RBD CephStorageClass gets allocated, the provisioned size of the volumes and snapshots of this cluster in the pool, and heldByDeleted, the data the images of deleted volumes in the RBD trash still hold.

New features

This release adds:

  • The D8CsiCephStorageConnectionNotReady and D8CsiCephStorageClassNotReady alerts fire when the Ready condition of a CephClusterConnection or a CephStorageClass has not been True for 15 minutes. They read the new csi_ceph_resource_ready metric of the controller and link to the new FAQ section on the status conditions and reasons.
  • status.capacity of an RBD CephStorageClass gets two optional fields: allocated, the provisioned size of the volumes and snapshots this Kubernetes cluster keeps in the pool (the capacity of its PersistentVolumes and the restore size of its VolumeSnapshotContents), and heldByDeleted, the data the images of deleted volumes in the RBD trash still hold, with their snapshots. Both are refreshed every 10 minutes; heldByDeleted is left out when an image in the trash has no fast-diff feature.

Improvements

This release improves:

  • kubectl get shows the reason of the Ready condition and the monitors for CephClusterConnection, and the reason, the connection and the RBD pool for CephStorageClass. Both kinds are in the d8-storage category, connections also in d8-storage-connections and classes in d8-storage-classes, so kubectl get d8-storage-classes lists the classes of every storage module.

Fixes

This release fixes:

  • The log of the controller container no longer shows [controller-runtime] log.SetLogger(...) was never called; logs will not be displayed with a stack trace. The messages of the controller-runtime cache and of the Kubernetes client inside the controller, such as Failed to watch when the controller cannot list a resource, were dropped; they are now written to the controller log in the same format as its other messages.
  • A CephStorageClass whose connection does not exist or is not Ready gets Ready=False with the reason WaitingForDependency instead of ReconcileFailed (missing connection) or Ready=True (connection not Ready, for example while it is being deleted), and turns Ready=True as soon as the connection does: the class controller now watches CephClusterConnection. The StorageClass and the VolumeSnapshotClass are still created and updated while the connection exists, and the D8CsiCephStorageClassNotReady alert names the connection. ClusterConfigConflict of the connection does not change the Ready of its classes.

Upgrade notes

Before upgrading, note the following:

  • The Phase column of CephClusterConnection and CephStorageClass is shown only with kubectl get -o wide, and the Reason column now holds the reason of the Ready condition rather than status.reason. Scripts that parse the columns should read .status.conditions instead.
  • The StorageClassNewCephClusterConnectionCreated, StorageClassCephClusterAuthenticationNotMigrated, StorageClassPossibleProblemWithAllowVolumeExpansion, StorageClassPossibleProblemWithMountOptions, StorageClassPossibleProblemWithCephfsPool, CsiCephRBDVolumeWithoutWatch alerts are deprecated and will be removed in the next minor release. D8CsiCephStorageClassNewCephClusterConnectionCreated, D8CsiCephStorageClassCephClusterAuthenticationNotMigrated, D8CsiCephStorageClassPossibleProblemWithAllowVolumeExpansion, D8CsiCephStorageClassPossibleProblemWithMountOptions, D8CsiCephStorageClassPossibleProblemWithCephfsPool, D8CsiCephRBDVolumeWithoutWatch replace them, in the same order, and fire on the same conditions; until the old names are removed, both fire. Update silences and routes that match the old names.
  • status.phase and status.reason of CephClusterConnection and CephStorageClass are deprecated. phase is derived from the Ready condition and is absent while Ready is Unknown; read .status.conditions instead. phase will be removed in the next API version. status.reason now repeats the message of the Ready condition, including the error text of a failed pass, rather than the summary the pass produced.

v0.5.44

Release date: 2026-11-24

The module now raises an alert when the kernel RBD client of a node has lost its watch on an attached volume, for example after Ceph blocklisted it, an RBD CephStorageClass reports the space of its pool in status.capacity, and the controller Pod starts again on clusters with ContainerdV2 and the erofs snapshotter.

Highlights

Changes in this release:

  • New CsiCephRBDVolumeWithoutWatch alert and RBDImageNotWatched event on the PersistentVolume: an attached RBD volume whose image has fewer watchers than nodes it is attached to, which happens after Ceph adds the kernel client of a node to the OSD blocklist and can leave the volume read-only while the Pod keeps running.
  • An RBD CephStorageClass reports the space of its pool in status.capacity: the data stored, the space the pool can still take, the pool quota and the number of images in the RBD trash, which tells why deleting a PVC returned no space.
  • The controller Pod no longer fails with read-only file system and no longer stays in CrashLoopBackOff on clusters with ContainerdV2 and the erofs snapshotter (DKP CSE, or DKP with defaultCRI: ContainerdV2).

New features

This release adds:

  • The controller checks the watchers of the attached RBD images every five minutes, with the credentials of their CephClusterConnection and read-only, and exports the csi_ceph_rbd_volume_without_watch and csi_ceph_rbd_watch_check_success metrics; D8CsiCephRBDWatchCheckFailed fires when the check fails for 30 minutes. The FAQ describes how to confirm the cause and recover the node: drain, reboot, check the filesystems.
  • An RBD CephStorageClass reports the space of its pool in status.capacity, as ceph df shows it: the data stored (volumes, snapshots, restored volumes and images in the RBD trash), the space the pool can still take, the pool quota and the space left within it, and the number of images in the RBD trash, which tells why deleting a PVC returned no space. freeOnDisk is a wide column of d8 k get cephstorageclass. The controller reads the pool once a minute with the credentials of the CephClusterConnection over one connection per CephClusterConnection, shared with the watcher check, and writes the status when a figure moves by more than 1%, when the trash or the quota changes, or every 5 minutes; csi_ceph_rbd_capacity_read_success shows whether the last read succeeded.

Fixes

This release fixes:

  • The controller Pod now starts on clusters with ContainerdV2 and the erofs snapshotter (DKP CSE, or DKP with defaultCRI: ContainerdV2): its image contains the /etc/webhook/certs mount point, so the container no longer fails with read-only file system and no longer stays in CrashLoopBackOff.
  • Labels with the fleet.cattle.io/ prefix are no longer copied from the StorageClass resources of the module to the StorageClasses. The default of storageClassLabelIgnoredPrefixes listed a misspelled prefix, fleet.cattle.op/, so the Rancher Fleet labels were copied.

Security updates

Security updates in this release:

  • The OpenTelemetry modules go.opentelemetry.io/otel, metric and trace are raised from v1.44.0 to v1.47.0 in the ceph-csi binary, closing CVE-2026-128085.

v0.5.43

Release date: 2026-11-19

The Ceph user keys of connections are no longer readable below ClusterEditor and are masked as sensitive data on DKP 1.77 and later, CephMetadataBackup is left to SuperAdmin, the migration from the ceph-csi module no longer stops on volumes without an expansion secret or on volumes that already exist, and the module needs less memory on master nodes.

Highlights

Changes in this release:

  • The spec.userKey fields of CephClusterConnection and CephClusterAuthentication are marked as sensitive data: on DKP 1.77 and later the API returns <omitted> instead of the Ceph user key to callers not allowed to read the /sensitive subresource. Read the upgrade notes before the update.
  • The access levels below ClusterEditor no longer read CephClusterConnection and CephClusterAuthentication, and only SuperAdmin reads and writes CephMetadataBackup.
  • The migration from the ceph-csi module now moves every PersistentVolume of a storage class to the new Secret, including volumes without a controller expand secret and volumes that already exist.

Improvements

This release improves:

  • The module needs less memory on master nodes. The controller serves the admission webhooks itself instead of a separate webhooks container, and serves its metrics over HTTPS, checking each scrape itself with the same TokenReview and SubjectAccessReview, instead of a kube-rbac-proxy container; the external-resizer of the RBD and CephFS CSI controllers no longer keeps an informer over every Pod of the cluster; the CephFS CSI controller runs without the external-attacher, which has no work, as the cephfs.csi.ceph.com CSIDriver has attachRequired: false; and the controller no longer keeps managedFields of the objects it caches. The webhook Service, the metrics port, the ServiceMonitor and the access rules stay the same; the Pods of the controller and of both CSI controllers are recreated once during the update.
  • In HA mode the RBD and CephFS CSI controllers and the module controller run two replicas instead of one per master node, and one replica on a cluster with a single master node.

Fixes

This release fixes:

  • The migration from the ceph-csi module no longer panics on a PersistentVolume that has a node stage secret reference but no controller expand secret reference: only the references the volume has are moved to the new Secret.
  • When no CephCSIDriver is being migrated, the migration hook logs a warning with the CephMetadataBackup objects whose PersistentVolumes it did not recreate, instead of leaving them unnoticed.
  • When the migration from the ceph-csi module finds that a PersistentVolume it is recreating already exists, it now goes on with the remaining PersistentVolumes of the storage class instead of stopping, and marks the CephCSIDriver as migrated only after every PersistentVolume references the new Secret. Before, the rest of the class kept the old Secret of the removed module and their volumes failed to mount. An existing PersistentVolume without a controller expand secret reference is now also recognized as the one the migration recreated, instead of failing the hook on every run.

Security updates

Security updates in this release:

  • The User, PrivilegedUser, Editor and Admin access levels and the RBACv2 roles d8:manage:storage:viewer and d8:manage:all:viewer no longer read CephClusterConnection and CephClusterAuthentication, which hold the Ceph user key in plain text; ClusterEditor, ClusterAdmin and the storage manager roles keep reading and changing them. This does not hide the key from every level: the controller copies it to Secrets in d8-csi-ceph, and by the access model the levels from PrivilegedUser up read Secrets in all namespaces unless multitenancy limits them to their own namespaces. On DKP 1.77 and later the key is also masked in the answers of the API by the x-kubernetes-sensitive-data marker described below.
  • No access level below SuperAdmin reads, creates or changes CephMetadataBackup: the ClusterEditor role and the RBACv2 storage manager role no longer write it, and User and the storage viewer role no longer read it. The security boundary is RBAC: only SuperAdmin can write a backup. The migration hook adds a check on top of it: it recreates a PersistentVolume from a backup only while a CephCSIDriver is being migrated, and only if the backup holds an RBD or CephFS CSI volume with no other volume source and is named after that volume. The check rejects volumes of other kinds, such as hostPath, but cannot tell a backup the hook made from one written by someone allowed to write CephMetadataBackup. Before, a ClusterEditor could create a backup with any PersistentVolume, a hostPath one included, and the hook created that volume.
  • The spec.userKey fields of CephClusterConnection and CephClusterAuthentication are marked with x-kubernetes-sensitive-data. On DKP 1.77 and later the API returns <omitted> instead of the Ceph user key to a caller that is not allowed to read the cephclusterconnections/sensitive or cephclusterauthentications/sensitive subresource, the audit log masks the key, and with apiserver.encryptionEnabled: true in control-plane-manager the object is encrypted in etcd. Below DKP 1.77 the marker is dropped when the CRD is installed, and the key stays as it was. The subresources are read by the module controller, the admin kubeconfig of the master nodes, the ClusterAdmin access level and the RBACv2 storage manager role; ClusterEditor still creates and changes the resources but sees <omitted>, and on update the kube-apiserver keeps the stored key in place of <omitted>. The copy of the key in the Secrets of d8-csi-ceph is not affected.

Upgrade notes

Before upgrading, note the following:

  • Users with the User, PrivilegedUser, Editor or Admin access level and subjects bound to d8:manage:storage:viewer or d8:manage:all:viewer no longer see CephClusterConnection, CephClusterAuthentication and CephMetadataBackup. Give ClusterEditor or the storage manager role to those who manage Ceph connections. CephStorageClass stays readable for every level.
  • If sds-elastic is enabled, update it first to a release that allows its controller to read cephclusterconnections/sensitive. An older sds-elastic sees <omitted> in the CephClusterConnection it manages and patches it on every reconcile; the key itself stays intact.
  • Treat the Ceph user keys that could be read from CephClusterConnection and CephClusterAuthentication before as exposed and rotate them.
  • With apiserver.encryptionEnabled: true, a CephClusterConnection or CephClusterAuthentication is encrypted in etcd at its next write. To encrypt the existing ones at once, rewrite them: d8 k get cephclusterconnections -o json | d8 k replace -f - and the same for cephclusterauthentications.
  • Make d8 backup cluster-config backups as a cluster administrator (cluster-admin): a user without access to the sensitive subresources gets <omitted> instead of the key in the backup, and such a backup cannot be restored.
  • Do not remove the marker while encryption in etcd is on, for example by rolling the module back to a release without it: the kube-apiserver cannot read the encrypted CephClusterConnection and CephClusterAuthentication objects any more.

Known issues

Known limitations of this release:

  • The CSIDriver object cephfs.csi.ceph.com had attachRequired: true only in module v0.1.0 (2024), and the field cannot be changed in place. If such an object is still in the cluster, Pods with CephFS volumes stay in ContainerCreating after the update, because the CephFS CSI controller no longer runs the external-attacher. Before the update, check that d8 k get csidriver cephfs.csi.ceph.com -o jsonpath='{.spec.attachRequired}' prints false; if it prints true, contact technical support before updating.

Docs

Documentation changes:

  • The documentation names the storage-foundation module, not snapshot-controller, as the module that volume snapshots require, and no longer asks to enable snapshot-controller.

v0.5.42

Release date: 2026-11-14

The module can be built inside an isolated network: its build no longer contacts the Go checksum database.

Highlights

Changes in this release:

  • The build of the module no longer contacts the Go checksum database (sum.golang.org) and reuses the Go module cache of the build host, so the module can be built inside an isolated network from prepared caches.

Improvements

This release improves:

  • The release-notes pages of the documentation are rendered by a tool pinned together with its checksums in .werf/tools/go.mod, and the Go module cache of the build host (~/go-pkg-cache) is kept between builds. Nothing changes in the images or in the cluster.

v0.5.41

Release date: 2026-11-12

On DKP 1.78 and later the view and edit roles of the module also cover its ModuleConfig, the FAQ explains how snapshots and restored volumes depend on each other, and the images are rebuilt on base images v4.0.12 with Go 1.27.4.

Highlights

Changes in this release:

  • On DKP 1.78 and later, the d8:system-capability:csi-ceph:view and d8:system-capability:csi-ceph:edit roles also give read and write access to the csi-ceph ModuleConfig.
  • The FAQ explains in which order snapshots and restored volumes can be deleted and why a deleted RBD image can stay in the RBD trash.

Improvements

This release improves:

  • On DKP 1.78 and later, the d8:system-capability:csi-ceph:view and d8:system-capability:csi-ceph:edit roles also give read access to the csi-ceph ModuleConfig, and edit write access to it, and carry the standard titles and descriptions of the platform, as every capability of the DKP 1.78 role model does. The RBAC of the module is now declared in rbac.yaml, and the RBACv2 templates are written from it; clusters below DKP 1.78 keep the roles they had.

Docs

Documentation changes:

  • The FAQ explains what happens to snapshots and restored volumes when one of them is deleted: any order is allowed, an RBD volume restored from a snapshot is a copy-on-write clone that ceph-csi flattens in the background once a chain gets deep, a deleted RBD image waits in the RBD trash while snapshots or restored volumes depend on it, and a read-write CephFS volume restored from a snapshot is a full copy.

Dependencies

Dependency updates:

  • base images: v4.0.7 → v4.0.12
    • Every image of the module is rebuilt on the current base images.
  • Go: 1.27.3 → 1.27.4
    • The toolchain the Go components of the module are built with.

v0.5.40

Release date: 2026-11-05

CephStorageClass and CephClusterConnection record Kubernetes Events when their Ready condition changes, StorageClasses of the module are updated in place and labelled with the module name, a CephStorageClass can no longer take the name of a foreign StorageClass, and the ceph-csi binary and the module components no longer carry the reported vulnerabilities of go-jose and golang.org/x/net.

Highlights

Changes in this release:

  • CephStorageClass and CephClusterConnection record a Warning Event when their Ready condition turns False and a Normal one when it turns True again, so kubectl describe shows when a resource broke and when it recovered.
  • A change of the labels or annotations of a module StorageClass no longer deletes and recreates it, so PersistentVolumeClaims created at that moment no longer fail to provision.
  • The ceph-csi binary is built with github.com/go-jose/go-jose/v4 v4.1.6 and golang.org/x/net v0.62.0, which closes CVE-2026-116587, CVE-2026-116585, CVE-2026-116586, CVE-2026-78661 and CVE-2026-97045.

New features

This release adds:

  • CephStorageClass and CephClusterConnection now record a Kubernetes Event when their Ready condition changes status or reason: a Warning when it turns False, a Normal one when it turns True again. The reason of the Event is the reason of the condition, for example ReconcileFailed or PersistentVolumesExist, so kubectl describe shows when a resource broke and when it recovered. A reconcile pass that changes nothing records no Event. Both kinds are cluster-scoped, so their Events are in the default namespace, and the controller is granted the right to create them there.

Improvements

This release improves:

  • A CephStorageClass can no longer be created under the name of a StorageClass that belongs to another provisioner. The module names its StorageClass after the CephStorageClass, so such a resource used to be created and then stay Failed; the webhook now rejects it at creation and names the StorageClass that holds the name.
  • The StorageClass validating webhook writes its messages through the module logger: they follow logLevel of the module and come out as JSON like the rest of the Pod log, instead of klog text at a fixed level.

Fixes

This release fixes:

  • A change of the labels or annotations of a StorageClass made by the module is now applied to the existing StorageClass instead of deleting and creating it again. Recreating removed the class for a moment, so a PersistentVolumeClaim that arrived in that window failed to provision. A change of the parameters, provisioner, reclaim policy or volume binding mode still recreates the StorageClass.
  • The storage.deckhouse.io/managed-by label of the StorageClasses the module creates now holds the module name, csi-ceph, instead of d8-ceph-storage-class-controller. Existing StorageClasses get the new value on the first reconcile after the update, without being recreated. Label selectors and monitoring queries that match the old value have to be updated. The label on other objects of the module, such as VolumeSnapshotClasses and Secrets, keeps its value.

Security updates

Security updates in this release:

  • In the ceph-csi binary github.com/go-jose/go-jose/v4 is raised from v4.1.4 to v4.1.6, closing CVE-2026-116587, CVE-2026-116585 and CVE-2026-116586, and golang.org/x/net from v0.60.0 to v0.62.0, closing CVE-2026-78661 and CVE-2026-97045.
  • golang.org/x/net is raised from v0.60.0 to v0.62.0 in the module controller, webhooks and hooks, closing CVE-2026-78661 and CVE-2026-97045.

Upgrade notes

Before upgrading, note the following:

  • Nothing has to be done by hand, except for label selectors, monitoring queries and automation that match storage.deckhouse.io/managed-by: d8-ceph-storage-class-controller on StorageClasses: switch them to csi-ceph. The existing StorageClasses are relabelled in place, and the CephStorageClass name check applies only to resources created after the update.

Docs

Documentation changes:

  • The FAQ explains why an RBD volume fails to map with map failed: (13) Permission denied after its Pod moves from a failed node: the Ceph user is not allowed to blocklist the old lock owner. It shows the matching dmesg lines, the mon caps the user needs (profile rbd or allow command "osd blocklist", not the pre-Ceph 16 osd blacklist) and how to remove a stuck lock by hand. The RBD caps example says why profile rbd is needed in the mon caps.

v0.5.39

Release date: 2026-10-26

The RBD and CephFS CSI controllers and node plugins come with the SecurityPolicyExceptions that DKP 1.79 requires for system Pods, the RBD controller plugin no longer runs privileged, and the module images no longer carry the reported Go dependency vulnerabilities.

Highlights

Changes in this release:

  • The module ships a SecurityPolicyException for each of the RBD and CephFS CSI controllers and node plugins in d8-csi-ceph, so these Pods keep starting once DKP 1.79 switches the Pod Security Standards of system namespaces from warning to denial.
  • The rbdplugin container of the RBD CSI controller runs unprivileged, without SYS_ADMIN and with all capabilities dropped.

Improvements

This release improves:

  • The RBD and CephFS CSI controller Deployments and node DaemonSets get a SecurityPolicyException that describes each privilege they need beyond the restricted profile, and their Pods carry the security.deckhouse.io/security-policy-exception label pointing to it. The objects are rendered only when the SecurityPolicyException resource is available in the cluster (the admission-policy-engine-crd module is enabled); on earlier platforms nothing changes.

Security updates

Security updates in this release:

  • The rbdplugin container of the RBD CSI controller no longer runs with privileged: true and the SYS_ADMIN capability: it drops all capabilities and sets allowPrivilegeEscalation: false. The controller only talks to the Ceph cluster and never maps or mounts an image, and upstream ceph-csi runs this container unprivileged as well. The RBD and CephFS node plugins are unchanged.
  • Go dependencies of the ceph-csi binary, the module controller, the webhooks and the hooks are updated, which clears CVE-2026-78669, CVE-2026-78659, CVE-2026-78660, CVE-2026-78663, CVE-2026-97032, CVE-2026-56851, CVE-2026-63209 and CVE-2026-85747 from scans of the module images.

Upgrade notes

Before upgrading, note the following:

  • Nothing has to be done by hand. The RBD CSI controller Pods restart once because of the new security context; where the SecurityPolicyException resource is available, the RBD and CephFS CSI controller and node plugin Pods restart once as well to get the new label.

v0.5.38

Release date: 2026-10-19

The ceph-csi drivers and the CSI sidecars log at the verbosity set by the module logLevel instead of always at trace level.

Highlights

Changes in this release:

  • The ceph-csi RBD and CephFS plugins and the CSI sidecars of the module take their klog verbosity from logLevel in the ModuleConfig of csi-ceph. With the default INFO they run with --v=2 instead of --v=5, so their logs shrink considerably.

Improvements

This release improves:

  • The klog verbosity of the ceph-csi RBD and CephFS plugins (controller and node) and of the CSI sidecars follows logLevel: ERROR gives --v=0, WARN --v=1, INFO (the default) --v=2, DEBUG --v=4 and TRACE --v=5. Before, all of them ran with --v=5 whatever logLevel said.

Upgrade notes

Before upgrading, note the following:

  • The ceph-csi and CSI sidecar Pods restart once to pick up the new arguments. To keep the previous trace-level logs, set logLevel: TRACE in the ModuleConfig of csi-ceph.

v0.5.37

Release date: 2026-10-01

Several CephClusterConnections to the same Ceph cluster no longer break each other’s volumes: RBD volumes detach with the secret of their own connection, a connection is not deleted while volumes or snapshots still need it, and a new condition reports the volumes the shared ceph-csi configuration cannot serve. Ceph CSI is updated to v3.18.0.

Highlights

Changes in this release:

  • RBD volumes detach with the secret of their own CephClusterConnection. Before, with two connections to the same Ceph cluster, a detach could run as the user of the other connection, fail with Operation not permitted and leave the VolumeAttachment behind, blocking the next attach of the volume with Multi-Attach.
  • A CephClusterConnection being deleted keeps its Secret and finalizer while PersistentVolumes or VolumeSnapshotContents still need them, and says so in its Ready condition with the reason PersistentVolumesExist or VolumeSnapshotContentsExist.
  • The new ClusterConfigConflict condition of CephClusterConnection names the volumes that need a Ceph user or a CephFS subvolume group other than the one the shared ceph-csi configuration of their cluster holds.

New features

This release adds:

  • CephClusterConnection has the ClusterConfigConflict condition. ceph-csi keeps one configuration entry per Ceph cluster with the user of one connection for RBD and the subvolume group of one connection for CephFS. The condition is True with the reason VolumesNeedOtherSettings when volumes created through the connection need another user or group than that entry holds, names up to ten such PersistentVolumes and the connection whose settings the entry holds, and is False with the reason ServedByClusterConfig otherwise. It is set on every connection that shares a Ceph cluster and is updated when the listed volumes change phase or are deleted. Affected are RBD volumes provisioned before this release whose connection has another user (they cannot detach) and CephFS volumes in another subvolume group (they can be mounted but not deleted, expanded or snapshotted).
  • On DKP 1.78 and later the module ships its access roles in the capability/scope RBACv2 scheme: d8:system-capability:csi-ceph:view and d8:system-capability:csi-ceph:edit for the CephClusterConnection, CephClusterAuthentication, CephStorageClass and CephMetadataBackup resources. On earlier DKP versions the d8:manage:permission:module:csi-ceph:view and d8:manage:permission:module:csi-ceph:edit roles are rendered unchanged.

Improvements

This release improves:

  • The module controller no longer keeps managedFields of PersistentVolumes and VolumeAttachments in its cache, which holds those of every CSI driver in the cluster, so its memory use grows less with the number of volumes.

Fixes

This release fixes:

  • Every RBD StorageClass now carries the csi.storage.k8s.io/controller-publish-secret-name and csi.storage.k8s.io/controller-publish-secret-namespace parameters, so each new RBD PersistentVolume names the Secret of its own CephClusterConnection for detach. Before, ceph-csi took the detach Secret from the one configuration entry per Ceph cluster, which the controller overwrote with the connection reconciled last; with two connections to one cluster, for example one for RBD and one for CephFS whose user has no access to the RBD pools, detach failed and the volume could not be attached on another node. For RBD volumes provisioned before the upgrade, which still rely on that entry, the entry keeps the connection whose volumes depend on it, and deleting one connection of a cluster no longer drops the entry the others need.
  • Deleting a CephClusterConnection no longer leaves its volumes stuck. Before, its Secret was deleted at once, and a volume it had provisioned could then no longer be detached, expanded or deleted. The connection now stays until no PersistentVolume needs its Secret (attached to a node, Bound or not yet claimed, or Released/Failed with the Delete reclaim policy) and no VolumeSnapshotContent with the Delete deletion policy refers to it. Its Ready condition is False with the reason PersistentVolumesExist or, when only snapshots are left, VolumeSnapshotContentsExist, and the message names up to ten of them. A Released or Failed PersistentVolume with the Retain policy that is attached nowhere does not hold the connection, so an ElasticCluster teardown in sds-elastic is not blocked by such a volume. The connection goes as soon as its last volume or snapshot is gone.
  • The CephFS subvolume group of the shared ceph-csi configuration entry no longer moves to the group of another CephClusterConnection once a second connection to the same cluster creates its first CephFS volume. Before, the CephFS volumes created earlier could then no longer be deleted or expanded. The group now follows the subvolumePath of the existing volumes, and the monitors of the entry are those of all connections to the cluster.

Upgrade notes

Before upgrading, note the following:

  • The controller recreates every existing RBD StorageClass once to add the controller-publish secret parameters; parameters of a StorageClass are immutable in Kubernetes. Existing PersistentVolumes and PVCs are not affected: only volumes provisioned after the upgrade carry the detach Secret, and older RBD volumes keep detaching through the shared ceph-csi configuration entry.
  • After the upgrade, check ClusterConfigConflict on clusters with several CephClusterConnections to the same Ceph cluster; the FAQ gives the command that lists the affected connections and explains how to let the listed RBD volumes detach by granting the user of the connection the entry holds access to their pools.
  • Deleting a CephClusterConnection now waits for the PersistentVolumes and VolumeSnapshotContents that need its Secret. Delete them, or the VolumeSnapshots of the listed contents, for the deletion to finish. The controller is granted read access to PersistentVolumes, VolumeAttachments and VolumeSnapshotContents for this.
  • On DKP 1.78 and later the d8:manage:permission:module:csi-ceph:* ClusterRoles are replaced by d8:system-capability:csi-ceph:*. Access granted through the Deckhouse role aggregation keeps working; a binding created by hand to one of the old role names has to be moved to the new name.

Docs

Documentation changes:

  • The FAQ explains why a CephClusterConnection is not deleted and which PersistentVolumes and VolumeSnapshotContents hold it, and what the ClusterConfigConflict condition means, how to find the affected connections and how to let the listed RBD volumes detach.

Dependencies

Dependency updates:

  • ceph-csi: 3.16.3 → 3.18.0 (changelog)
    • Upstream already ships the dependency updates that our CVE patch carried, so that patch is dropped; the two functional patches, including the ext4 superuser reserve, are rebased without changes in behaviour.

v0.5.36

Release date: 2026-09-14

A small release: the module logs at INFO by default, and the golang.org/x/crypto pin no longer shows up as a critical finding in scans of the hooks image.

Highlights

Changes in this release:

  • The default logLevel is now INFO instead of DEBUG, so a cluster that never set it explicitly gets far less log volume from the module.
  • The golang.org/x/crypto pin is raised to v0.57.0, which clears CVE-2026-56854, CVE-2026-56855 and CVE-2026-78662 from scans of the module’s hooks image.

Improvements

This release improves:

  • The default logLevel is now INFO instead of DEBUG, which is what a cluster that never set it explicitly will get.

Security updates

Security updates in this release:

  • The golang.org/x/crypto pin is raised from v0.53.0 to v0.57.0 in every component, which takes CVE-2026-56854, CVE-2026-56855 and CVE-2026-78662 out of scans of the module’s hooks image. None of the three was reachable: the vulnerable x/crypto/ssh package is not compiled into any binary the module ships, so this clears the finding rather than an exposure.

Upgrade notes

Before upgrading, note the following:

  • Nothing has to be done by hand. A cluster that relied on the previous default verbosity should set logLevel: DEBUG in the module configuration explicitly, because the default is now INFO.

v0.5.35

Release date: 2026-09-10

An RBD StorageClass can now keep a share of the filesystem for the superuser, the module controller exports its metrics to Prometheus, and the Ceph CSI driver is updated to v3.16.3.

Highlights

Changes in this release:

  • A CephStorageClass can ask for a percentage of every new ext4 volume to be reserved for the superuser through the storage.deckhouse.io/ext4-reserved-percent annotation.
  • The module controller publishes its metrics — reconcile counts and durations, workqueue depth, client-go latency — and Prometheus scrapes them through a ServiceMonitor.
  • Ceph CSI is updated from v3.15.1 to v3.16.3.

New features

This release adds:

  • CephStorageClass accepts the storage.deckhouse.io/ext4-reserved-percent annotation: a whole number of percent between 0 and 50 that mkfs.ext4 keeps for the superuser. It works for type: RBD classes whose volumes are formatted with ext4 and is ignored for CephFS and for XFS volumes; nothing is reserved by default. A value out of range or not a number puts the CephStorageClass into the Failed phase with the reason in its conditions instead of failing volume creation later.
  • The controller metrics are exported to Prometheus: a ServiceMonitor for the csi-ceph-controller job scrapes them through a kube-rbac-proxy, while the controller itself keeps the endpoint on loopback.

Improvements

This release improves:

  • The controller logs at the info level by default instead of debug, so a quiet cluster no longer fills the log with per-reconcile detail; LOG_LEVEL=debug brings the previous verbosity back.

Fixes

This release fixes:

  • An edit to the annotations of a CephStorageClass is reconciled right away. Previously only changes to spec and to the labels reached the reconciler, so an annotation-driven parameter took effect only once something else touched the resource.
  • The CSI Pods no longer wait in ContainerCreating on a fresh install until the first CephClusterConnection appears: the ceph-csi-config ConfigMap the controller creates is now mounted as optional, and replacing it no longer takes the driver down for minutes.

Dependencies

Dependency updates:

  • ceph-csi: 3.15.1 → 3.16.3 (changelog)
    • The stack of our patches is rebuilt on top of the new tag: the fixes that landed upstream are dropped, and the remaining dependency updates that close 2026 advisories are collapsed into a single patch.

v0.5.34

  • Fix: the release image is no longer built from cache with an outdated changelog.yaml — git-mapping dependencies are tied to the install stage, where the file is copied
  • Update base images to v2.1.4
  • Internal build changes for the module

v0.5.33

  • Bugfix: the controller is granted patch on events instead of list - a repeated event write is no longer denied by RBAC
  • CVE fixes
  • Base images updated to v2.1.2, Go to 1.26.6 and lib-helm to 1.72.14
  • Internal build changes: CI updated, crds, docs and openapi are shipped in the release image

v0.5.32

  • CephStorageClass, CephClusterConnection, and CephClusterAuthentication publish status.conditions and status.observedGeneration. The status.phase field retains the same set of values ​​and its column, but is now calculated from the Ready condition
  • CephClusterAuthentication received a status record that it did not have and publishes the condition Deprecated instead of Ready - this resource is not brought to the desired state
  • Updating base images to v1.3.25 and lib-helm to 1.72.13

v0.5.31

  • The snapshot-controller module is no longer a required dependency: VolumeSnapshotClass is created only if the CRD snapshot.storage.k8s.io is available, otherwise CephStorageClass is processed without the snapshot part; After installing CRD, restarting the controller is not required
  • Correction: when msCrcData is disabled, managed StorageClasses are transferred to msgr1 (ms_mode=legacy) - otherwise the kernel clients krbd and CephFS discarded frames without CRC and the mount ended with a timeout if the cluster was healthy
  • Updating base images, Go 1.26.5 and lib-helm to 1.72.12
  • Fixed vulnerabilities in third-party dependencies
  • Internal changes in module assembly and CI, added e2e tests

v0.5.30

  • Correction: CephStorageClass validation no longer rejects a resource with an empty parameter block of the opposite type (rbd or cephFS)
  • Updating base images, Go 1.26.5 and lib-helm to 1.72.9
  • Internal changes in module assembly

v0.5.29

  • Fixed generation of access secret to registry (deckhouse-registry): Now it only contains authorization data for the active image source

v0.5.28

  • The e2fsck and fsck utilities for checking file systems have been added to the CSI node image

v0.5.27

  • When forwarding labels from CephStorageClass to StorageClass, labels with specified ignored prefixes are now excluded
  • Updating base images and lib-helm to 1.72.0

v0.5.26

  • Reconciliation when changing CephStorageClass labels for forwarding to managed StorageClass Kubernetes
  • Update base images, Go 1.25.10 and lib-helm 1.71.12

v0.5.25

  • Fixed PromQL expressions in StorageClass alerts - brought the kube_storageclass_labels to the correct format and renamed the group to kubernetes.ceph.storage_class
  • Added Russian description for CRD CephMetadataBackup

v0.5.24

  • Internal changes in module structure and assembly

v0.5.23

  • Update base images, Go 1.25.10 and lib-helm 1.71.11
  • Internal changes to the module assembly

v0.5.22

  • Corrections to the module structure

v0.5.21

  • Added msCrcData parameter to disable CRC32C checking on Ceph data frames; when changing ceph-config, CSI pods (RBD/CephFS) are automatically restarted

v0.5.20

  • CI changes: DistroPackagesProxy and env proxy in werf, improvements to CVE scans (role_name, checkout, scanning restrictions)
  • Added user-authz cluster roles in templates

v0.5.19

  • Added missing mount points in csi-ceph distroless image
  • Updating base images and lib-helm

v0.5.18

  • Fix CVE
  • Documentation changes

v0.5.17

  • Module-sdk update for CVE fix
  • Update base images and golang
  • Disable Capacity request from k8s (CSI does not support Capacity issue)
  • Documentation processing

v0.5.16

  • Module-sdk update for CVE fix

v0.5.15

  • Updated version of base images
  • Updated Deckhouse dependency to 1.72
  • Updated CSI to 3.15.1
  • Reworking manifestos
  • Fixed a bug when creating VolumeSnapshotClasses

v0.5.14

  • Documentation fixes
  • Fix HA-mode, now it works correctly
  • Removed scheduler functionality, remaining for compatibility with old Deckhouse versions

v0.5.13

  • Updated base images versions
  • Fixed Prometheus rules
  • Fixed CVE
  • Updated Deckhouse dependency to 1.71
  • Updated Go version to 1.24.10

v0.5.12

  • Updated Go version to 1.24.9
  • Updated lib-helm to deckhouse_lib_helm-1.64.1

v0.5.11

  • Fix error in generating configmap with cluster connection data

v0.5.10

  • Fix CVE in ceph-csi

v0.5.9

  • Updated ceph-csi to v3.15.0

v0.5.8

  • Updated Go version to 1.24.8
  • Updated lib-helm to deckhouse_lib_helm-1.63.6

v0.5.7

  • Added release notes

v0.5.6

  • Added additional mount points for containerd v2 support

v0.5.5

  • Added information about the need for snapshot-controller for module operation
  • Added readonlyRootFilesystem for enhanced module security

v0.5.4

  • CVE fixes

v0.5.3

  • Added dependency on snapshot-controller
  • CVE fixes

v0.5.2

  • Added fixes for containerd v2 support
  • Fixes in CephClusterConnection processing

v0.5.1

  • Added support for subvolume group when specifying cluster data (field is also considered during migration from ceph-csi)

v0.5.0

  • Added automatic creation of VolumeSnapshotClassName annotations in StorageClass for proper snapshot-controller operation
  • Updated CSI to 3.14.2
  • Added setting to specify the number of worker threads for csi provisioner

v0.4.4

  • Module refactoring, documentation and build process fixes
  • Added HA mode support for CSI controller

v0.4.3

  • Technical release, module refactoring

v0.3.2

  • Updated lib-helm and CSI code patch fixes

v0.3.1

  • Fixed hook for automatic merging of CephClusterAuthorization and CephClusterConnection resources (now considers VolumeSnapshots, not just PV)
  • Cleaned metadata from images (cleaner images to reduce security client questions)

v0.3.0

  • Fixed error in generating internal configmap with ceph settings
  • Added hook for automatic merging of CephClusterAuthorization and CephClusterConnection resources (only CephClusterConnection will remain with all necessary fields)

v0.2.2

  • Added labels to our CRDs for proper Deckhouse backup operation
  • Fixed CSI controller templates for proper operation

v0.2.1

  • Updated golang to current 1.22.6 and replaced deprecated logging library to close known vulnerabilities

v0.2.0

  • Added liveness and readiness probes
  • Updated ceph-csi version to 3.12.1, and updated dependencies for which there are known CVEs in old versions
  • Enabled features needed for DVP in RBD StorageClass: exclusive-lock,object-map,fast-diff