Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(helm): update chart zfs-localpv ( 2.6.2 → 2.7.1 ) #448

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 14, 2025

This PR contains the following updates:

Package Update Change
zfs-localpv (source) minor 2.6.2 -> 2.7.1

Release Notes

openebs/zfs-localpv (zfs-localpv)

v2.7.1

Compare Source

========================

The 2.7.1 release of OpenEBS Local PV ZFS focuses fixing a bug which prevented volume clones upon upgrade. This bug got introduced because of a new feature being added for the selection of the quota and requota, but the backwards compatibility was not taken care of. This has also highlighted the gaps on upgrade testing, which we would like to work upon in the upcoming releases


Bug Fixes and Stability Improvements

v2.7.0

Compare Source

========================

The 2.7.0 release of zfs‑localpv focuses on enhancing the stability, feature set, and developer experience. Key highlights include new configuration options for quota management, support for faster compression algorithms, fixes to race conditions and resource cleanup, and a raft of improvements to tests, CI workflows, and documentation. In addition, several maintenance tasks and dependency updates have been performed to keep the project robust and secure.

NOTE: The 2.7.0 release of OpenEBS Local PV ZFS has bug which affects the volume clone feature upon upgrade from previous version. It has been fixed via a patch release 2.7.1. We would recommend users to upgrade directly to 2.7.1, if coming from 2.6.x and below


New Features

  • Configurable Quota Options

    • An option has been added to let users choose between using refquota and quota for ZFS volumes. This change (#​542 by @​cinapm) gives administrators more flexibility when managing resource limits.
  • Enhanced Compression Support

    • Support for the zstd‑fast algorithm has been introduced (#​597 by @​Abhinandan‑Purkait). This new option improves performance when compression is desired on ZFS volumes.

Bug Fixes and Stability Improvements

  • Volume Provisioning and Controller Fixes

    • The plugin now correctly retrieves the owner node id (#​549).
    • A fix ensures that if a ZFS volume already exists, the controller will provision the volume without error (#​576 by @​AChangFeng).
    • Several race conditions in the CSI controller have been addressed:
      • A per‑volume mutex was introduced to prevent simultaneous CSI controller calls that might cause the volume CR to be inadvertently deleted (#​588 by @​Lucaber and #​613 by @​sinhaashish).
      • The ZFS timer used during volume creation is now properly stopped after volume creation completes (#​600 by @​rfyiamcool).
  • YAML and CRD Corrections

    • VolumeSnapshot CRDs now have identation fixes (#​620 by @​nilroy).
    • Minor formatting adjustments (such as indent fixes for imagePullSecrets in the deployment charts - see #​596 by @​chris199512).
  • Reservation and Deployment Fixes

    • A bug in the reservation logic during volume expansion (with refquota settings) has been resolved (#​595 by @​abuisine).
    • Controller fixes prevent accidental deletion of volume CRs when snapshots exist (#​613 by @​sinhaashish).

Testing Enhancements

  • BDD and Integration Tests

  • Snapshot and Clone Testing

  • Local Testing Improvements

    • Various enhancements to local testing setups have been applied (#​609 by @​tiagolobocastro) to help developers run tests without elevated privileges and with more predictable behavior.

Continuous Integration and Deployment


Documentation and Contributor Workflow

  • Documentation Updates

    • Typos and minor errors in the README have been fixed (#​554 by @​druesendieb), and several docs (such as the localpv parameter explanations in docs and backup‑restore guides) have been updated (#​563, #​585).
    • A security section now cross‑references relevant security documents (#​611 by @​tiagolobocastro).
  • Contributor and Release Process Improvements

    • The contributor workflow documentation has been improved to provide clearer guidelines on how to contribute (#​616 by @​tiagolobocastro).
    • The overall README and additional documentation have been tidied up, and outdated assets have been moved or removed (#​619 by @​Abhinandan‑Purkait).
    • Changes to the RBAC configuration were applied (#​603 by @​d4rkfella) to ensure that all components (including CSI snapshotter) have the correct permissions.

Dependency and Maintenance Updates

  • CRD Generation and Cleanup

    • The CRDs have been replaced with an auto‑generated copy (#​564 by @​niladrih) to reduce manual errors.
    • Unused scripts have been removed and the make manifests updated (#​569 by @​Abhinandan‑Purkait).
  • Dependency Bumps

    • The analytics dependency has been updated (#​578 by @​niladrih).
    • The Go networking package has been bumped from 0.28.0 to 0.33.0 (#​610 by dependabot).
  • Chart and Label Adjustments

    • A fix was made to move the app=componentName label out of the csi‑node matchLabels section to prevent upgrade issues (#​605 by @​niladrih).


Configuration

📅 Schedule: Branch creation - "on friday and saturday" in timezone Europe/Prague, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

--- kubernetes/main/apps/storage/openebs/app Kustomization: flux-system/openebs HelmRelease: storage/openebs

+++ kubernetes/main/apps/storage/openebs/app Kustomization: flux-system/openebs HelmRelease: storage/openebs

@@ -13,13 +13,13 @@

     spec:
       chart: zfs-localpv
       sourceRef:
         kind: HelmRepository
         name: openebs-zfs-localpv
         namespace: flux-system
-      version: 2.6.2
+      version: 2.7.1
   install:
     remediation:
       retries: 3
   interval: 30m
   upgrade:
     cleanupOnFail: true

Copy link

--- HelmRelease: storage/openebs ServiceAccount: storage/openebs-zfs-controller-sa

+++ HelmRelease: storage/openebs ServiceAccount: storage/openebs-zfs-controller-sa

@@ -3,13 +3,13 @@

 apiVersion: v1
 metadata:
   name: openebs-zfs-controller-sa
   namespace: storage
   labels:
     heritage: Helm
-    openebs.io/version: 2.6.2
+    openebs.io/version: 2.7.1
     role: openebs-zfs
     app: openebs-zfs-controller
     release: openebs
     component: openebs-zfs-controller
     openebs.io/component-name: openebs-zfs-controller
 
--- HelmRelease: storage/openebs ServiceAccount: storage/openebs-zfs-node-sa

+++ HelmRelease: storage/openebs ServiceAccount: storage/openebs-zfs-node-sa

@@ -3,12 +3,13 @@

 kind: ServiceAccount
 metadata:
   name: openebs-zfs-node-sa
   namespace: storage
   labels:
     heritage: Helm
-    openebs.io/version: 2.6.2
+    openebs.io/version: 2.7.1
     role: openebs-zfs
     name: openebs-zfs-node
     release: openebs
+    app: openebs-zfs-node
     openebs.io/component-name: openebs-zfs-node
 
--- HelmRelease: storage/openebs ConfigMap: storage/openebs-zfspv-bin

+++ HelmRelease: storage/openebs ConfigMap: storage/openebs-zfspv-bin

@@ -3,16 +3,17 @@

 apiVersion: v1
 metadata:
   name: openebs-zfspv-bin
   namespace: storage
   labels:
     heritage: Helm
-    openebs.io/version: 2.6.2
+    openebs.io/version: 2.7.1
     role: openebs-zfs
     name: openebs-zfs-node
     release: openebs
+    app: openebs-zfs-node
     openebs.io/component-name: openebs-zfs-node
 data:
   zfs: |
     #!/bin/sh
     if [ -x /host/sbin/zfs ]; then
       chroot /host /sbin/zfs "$@"
--- HelmRelease: storage/openebs ClusterRole: storage/openebs-zfs-provisioner-role

+++ HelmRelease: storage/openebs ClusterRole: storage/openebs-zfs-provisioner-role

@@ -2,13 +2,13 @@

 kind: ClusterRole
 apiVersion: rbac.authorization.k8s.io/v1
 metadata:
   name: openebs-zfs-provisioner-role
   labels:
     heritage: Helm
-    openebs.io/version: 2.6.2
+    openebs.io/version: 2.7.1
     role: openebs-zfs
     app: openebs-zfs-controller
     release: openebs
     component: openebs-zfs-controller
     openebs.io/component-name: openebs-zfs-controller
 rules:
--- HelmRelease: storage/openebs ClusterRole: storage/openebs-zfs-snapshotter-role

+++ HelmRelease: storage/openebs ClusterRole: storage/openebs-zfs-snapshotter-role

@@ -2,13 +2,13 @@

 kind: ClusterRole
 apiVersion: rbac.authorization.k8s.io/v1
 metadata:
   name: openebs-zfs-snapshotter-role
   labels:
     heritage: Helm
-    openebs.io/version: 2.6.2
+    openebs.io/version: 2.7.1
     role: openebs-zfs
     app: openebs-zfs-controller
     release: openebs
     component: openebs-zfs-controller
     openebs.io/component-name: openebs-zfs-controller
 rules:
@@ -86,12 +86,13 @@

 - apiGroups:
   - snapshot.storage.k8s.io
   resources:
   - volumesnapshotcontents/status
   verbs:
   - update
+  - patch
 - apiGroups:
   - snapshot.storage.k8s.io
   resources:
   - volumesnapshots/status
   verbs:
   - update
--- HelmRelease: storage/openebs ClusterRole: storage/openebs-zfs-driver-registrar-role

+++ HelmRelease: storage/openebs ClusterRole: storage/openebs-zfs-driver-registrar-role

@@ -2,16 +2,17 @@

 kind: ClusterRole
 apiVersion: rbac.authorization.k8s.io/v1
 metadata:
   name: openebs-zfs-driver-registrar-role
   labels:
     heritage: Helm
-    openebs.io/version: 2.6.2
+    openebs.io/version: 2.7.1
     role: openebs-zfs
     name: openebs-zfs-node
     release: openebs
+    app: openebs-zfs-node
     openebs.io/component-name: openebs-zfs-node
 rules:
 - apiGroups:
   - ''
   resources:
   - events
--- HelmRelease: storage/openebs ClusterRoleBinding: storage/openebs-zfs-provisioner-binding

+++ HelmRelease: storage/openebs ClusterRoleBinding: storage/openebs-zfs-provisioner-binding

@@ -2,13 +2,13 @@

 kind: ClusterRoleBinding
 apiVersion: rbac.authorization.k8s.io/v1
 metadata:
   name: openebs-zfs-provisioner-binding
   labels:
     heritage: Helm
-    openebs.io/version: 2.6.2
+    openebs.io/version: 2.7.1
     role: openebs-zfs
     app: openebs-zfs-controller
     release: openebs
     component: openebs-zfs-controller
     openebs.io/component-name: openebs-zfs-controller
 subjects:
--- HelmRelease: storage/openebs ClusterRoleBinding: storage/openebs-zfs-snapshotter-binding

+++ HelmRelease: storage/openebs ClusterRoleBinding: storage/openebs-zfs-snapshotter-binding

@@ -2,13 +2,13 @@

 kind: ClusterRoleBinding
 apiVersion: rbac.authorization.k8s.io/v1
 metadata:
   name: openebs-zfs-snapshotter-binding
   labels:
     heritage: Helm
-    openebs.io/version: 2.6.2
+    openebs.io/version: 2.7.1
     role: openebs-zfs
     app: openebs-zfs-controller
     release: openebs
     component: openebs-zfs-controller
     openebs.io/component-name: openebs-zfs-controller
 subjects:
--- HelmRelease: storage/openebs ClusterRoleBinding: storage/openebs-zfs-driver-registrar-binding

+++ HelmRelease: storage/openebs ClusterRoleBinding: storage/openebs-zfs-driver-registrar-binding

@@ -2,16 +2,17 @@

 kind: ClusterRoleBinding
 apiVersion: rbac.authorization.k8s.io/v1
 metadata:
   name: openebs-zfs-driver-registrar-binding
   labels:
     heritage: Helm
-    openebs.io/version: 2.6.2
+    openebs.io/version: 2.7.1
     role: openebs-zfs
     name: openebs-zfs-node
     release: openebs
+    app: openebs-zfs-node
     openebs.io/component-name: openebs-zfs-node
 subjects:
 - kind: ServiceAccount
   name: openebs-zfs-node-sa
   namespace: storage
 roleRef:
--- HelmRelease: storage/openebs DaemonSet: storage/openebs-zfs-localpv-node

+++ HelmRelease: storage/openebs DaemonSet: storage/openebs-zfs-localpv-node

@@ -3,16 +3,17 @@

 apiVersion: apps/v1
 metadata:
   name: openebs-zfs-localpv-node
   namespace: storage
   labels:
     heritage: Helm
-    openebs.io/version: 2.6.2
+    openebs.io/version: 2.7.1
     role: openebs-zfs
     name: openebs-zfs-node
     release: openebs
+    app: openebs-zfs-node
     openebs.io/component-name: openebs-zfs-node
 spec:
   selector:
     matchLabels:
       name: openebs-zfs-node
       release: openebs
@@ -21,16 +22,17 @@

       maxUnavailable: 100%
     type: RollingUpdate
   template:
     metadata:
       labels:
         heritage: Helm
-        openebs.io/version: 2.6.2
+        openebs.io/version: 2.7.1
         role: openebs-zfs
         name: openebs-zfs-node
         release: openebs
+        app: openebs-zfs-node
         openebs.io/component-name: openebs-zfs-node
     spec:
       priorityClassName: openebs-zfs-csi-node-critical
       serviceAccountName: openebs-zfs-node-sa
       hostNetwork: true
       containers:
@@ -65,13 +67,13 @@

         - name: registration-dir
           mountPath: /registration
       - name: openebs-zfs-plugin
         securityContext:
           privileged: true
           allowPrivilegeEscalation: true
-        image: openebs/zfs-driver:2.6.2
+        image: openebs/zfs-driver:2.7.1
         imagePullPolicy: IfNotPresent
         args:
         - --nodename=$(OPENEBS_NODE_NAME)
         - --endpoint=$(OPENEBS_CSI_ENDPOINT)
         - --plugin=$(OPENEBS_NODE_DRIVER)
         env:
--- HelmRelease: storage/openebs Deployment: storage/openebs-zfs-localpv-controller

+++ HelmRelease: storage/openebs Deployment: storage/openebs-zfs-localpv-controller

@@ -3,13 +3,13 @@

 kind: Deployment
 metadata:
   name: openebs-zfs-localpv-controller
   namespace: storage
   labels:
     heritage: Helm
-    openebs.io/version: 2.6.2
+    openebs.io/version: 2.7.1
     role: openebs-zfs
     app: openebs-zfs-controller
     release: openebs
     component: openebs-zfs-controller
     openebs.io/component-name: openebs-zfs-controller
 spec:
@@ -20,13 +20,13 @@

       component: openebs-zfs-controller
   replicas: 1
   template:
     metadata:
       labels:
         heritage: Helm
-        openebs.io/version: 2.6.2
+        openebs.io/version: 2.7.1
         role: openebs-zfs
         app: openebs-zfs-controller
         release: openebs
         component: openebs-zfs-controller
         openebs.io/component-name: openebs-zfs-controller
         name: openebs-zfs-controller
@@ -85,13 +85,13 @@

             fieldRef:
               fieldPath: metadata.name
         volumeMounts:
         - name: socket-dir
           mountPath: /var/lib/csi/sockets/pluginproxy/
       - name: openebs-zfs-plugin
-        image: openebs/zfs-driver:2.6.2
+        image: openebs/zfs-driver:2.7.1
         imagePullPolicy: IfNotPresent
         env:
         - name: OPENEBS_CONTROLLER_DRIVER
           value: controller
         - name: OPENEBS_CSI_ENDPOINT
           value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants