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 csi-driver-smb ( v1.16.0 β†’ v1.17.0 ) #811

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 25, 2025

This PR contains the following updates:

Package Update Change
csi-driver-smb minor v1.16.0 -> v1.17.0

Configuration

πŸ“… Schedule: Branch creation - "* 0-4,22-23 * * 1-5,* * * * 0,6" in timezone America/Los_Angeles, 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/apps/kube-system/csi-driver-smb/app Kustomization: flux-system/csi-driver-smb HelmRelease: kube-system/csi-driver-smb

+++ kubernetes/apps/kube-system/csi-driver-smb/app Kustomization: flux-system/csi-driver-smb HelmRelease: kube-system/csi-driver-smb

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

     spec:
       chart: csi-driver-smb
       sourceRef:
         kind: HelmRepository
         name: csi-driver-smb
         namespace: flux-system
-      version: v1.16.0
+      version: v1.17.0
   driftDetection:
     mode: enabled
   install:
     remediation:
       retries: 3
   interval: 30m

Copy link

--- HelmRelease: kube-system/csi-driver-smb DaemonSet: kube-system/csi-smb-node

+++ HelmRelease: kube-system/csi-driver-smb DaemonSet: kube-system/csi-smb-node

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

       - operator: Exists
       containers:
       - name: liveness-probe
         volumeMounts:
         - mountPath: /csi
           name: socket-dir
-        image: registry.k8s.io/sig-storage/livenessprobe:v2.13.1
+        image: registry.k8s.io/sig-storage/livenessprobe:v2.15.0
         args:
         - --csi-address=/csi/csi.sock
         - --probe-timeout=3s
         - --http-endpoint=localhost:29643
         - --v=2
         imagePullPolicy: IfNotPresent
@@ -56,25 +56,17 @@

         securityContext:
           readOnlyRootFilesystem: true
           capabilities:
             drop:
             - ALL
       - name: node-driver-registrar
-        image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.11.1
+        image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.13.0
         args:
         - --csi-address=$(ADDRESS)
         - --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
         - --v=2
-        livenessProbe:
-          exec:
-            command:
-            - /csi-node-driver-registrar
-            - --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
-            - --mode=kubelet-registration-probe
-          initialDelaySeconds: 30
-          timeoutSeconds: 15
         env:
         - name: ADDRESS
           value: /csi/csi.sock
         - name: DRIVER_REG_SOCK_PATH
           value: /var/lib/kubelet/plugins/smb.csi.k8s.io/csi.sock
         imagePullPolicy: IfNotPresent
@@ -91,13 +83,13 @@

             memory: 20Mi
         securityContext:
           capabilities:
             drop:
             - ALL
       - name: smb
-        image: registry.k8s.io/sig-storage/smbplugin:v1.16.0
+        image: registry.k8s.io/sig-storage/smbplugin:v1.17.0
         imagePullPolicy: IfNotPresent
         args:
         - --v=5
         - --drivername=smb.csi.k8s.io
         - --endpoint=$(CSI_ENDPOINT)
         - --nodeid=$(KUBE_NODE_NAME)
--- HelmRelease: kube-system/csi-driver-smb Deployment: kube-system/csi-smb-controller

+++ HelmRelease: kube-system/csi-driver-smb Deployment: kube-system/csi-smb-controller

@@ -39,42 +39,71 @@

       - effect: NoSchedule
         key: node-role.kubernetes.io/controlplane
         operator: Exists
       - effect: NoSchedule
         key: node-role.kubernetes.io/control-plane
         operator: Exists
+      - effect: NoSchedule
+        key: CriticalAddonsOnly
+        operator: Exists
       containers:
       - name: csi-provisioner
-        image: registry.k8s.io/sig-storage/csi-provisioner:v5.0.2
+        image: registry.k8s.io/sig-storage/csi-provisioner:v5.2.0
         args:
         - -v=2
         - --csi-address=$(ADDRESS)
         - --leader-election
         - --leader-election-namespace=kube-system
         - --extra-create-metadata=true
         - --feature-gates=HonorPVReclaimPolicy=true
+        - --retry-interval-max=30m
         env:
         - name: ADDRESS
           value: /csi/csi.sock
         imagePullPolicy: IfNotPresent
         volumeMounts:
         - mountPath: /csi
           name: socket-dir
         resources:
           limits:
-            memory: 300Mi
+            memory: 400Mi
           requests:
             cpu: 10m
             memory: 20Mi
         securityContext:
           readOnlyRootFilesystem: true
           capabilities:
             drop:
             - ALL
+      - name: csi-resizer
+        image: registry.k8s.io/sig-storage/csi-resizer:v1.13.1
+        args:
+        - -csi-address=$(ADDRESS)
+        - -v=2
+        - -leader-election
+        - --leader-election-namespace=kube-system
+        - -handle-volume-inuse-error=false
+        env:
+        - name: ADDRESS
+          value: /csi/csi.sock
+        imagePullPolicy: IfNotPresent
+        volumeMounts:
+        - name: socket-dir
+          mountPath: /csi
+        resources:
+          limits:
+            memory: 400Mi
+          requests:
+            cpu: 10m
+            memory: 20Mi
+        securityContext:
+          capabilities:
+            drop:
+            - ALL
       - name: liveness-probe
-        image: registry.k8s.io/sig-storage/livenessprobe:v2.13.1
+        image: registry.k8s.io/sig-storage/livenessprobe:v2.15.0
         args:
         - --csi-address=/csi/csi.sock
         - --probe-timeout=3s
         - --http-endpoint=localhost:29642
         - --v=2
         imagePullPolicy: IfNotPresent
@@ -90,13 +119,13 @@

         securityContext:
           readOnlyRootFilesystem: true
           capabilities:
             drop:
             - ALL
       - name: smb
-        image: registry.k8s.io/sig-storage/smbplugin:v1.16.0
+        image: registry.k8s.io/sig-storage/smbplugin:v1.17.0
         imagePullPolicy: IfNotPresent
         args:
         - --v=5
         - --endpoint=$(CSI_ENDPOINT)
         - --metrics-address=0.0.0.0:29644
         - --drivername=smb.csi.k8s.io
--- HelmRelease: kube-system/csi-driver-smb CSIDriver: kube-system/smb.csi.k8s.io

+++ HelmRelease: kube-system/csi-driver-smb CSIDriver: kube-system/smb.csi.k8s.io

@@ -3,7 +3,10 @@

 kind: CSIDriver
 metadata:
   name: smb.csi.k8s.io
 spec:
   attachRequired: false
   podInfoOnMount: true
+  volumeLifecycleModes:
+  - Persistent
+  - Ephemeral
 
--- HelmRelease: kube-system/csi-driver-smb ClusterRole: kube-system/smb-external-resizer-role

+++ HelmRelease: kube-system/csi-driver-smb ClusterRole: kube-system/smb-external-resizer-role

@@ -0,0 +1,57 @@

+---
+kind: ClusterRole
+apiVersion: rbac.authorization.k8s.io/v1
+metadata:
+  name: smb-external-resizer-role
+  labels:
+    app.kubernetes.io/instance: csi-driver-smb
+    app.kubernetes.io/managed-by: Helm
+    app.kubernetes.io/name: csi-driver-smb
+rules:
+- apiGroups:
+  - ''
+  resources:
+  - persistentvolumes
+  verbs:
+  - get
+  - list
+  - watch
+  - update
+  - patch
+- apiGroups:
+  - ''
+  resources:
+  - persistentvolumeclaims
+  verbs:
+  - get
+  - list
+  - watch
+- apiGroups:
+  - ''
+  resources:
+  - persistentvolumeclaims/status
+  verbs:
+  - update
+  - patch
+- apiGroups:
+  - ''
+  resources:
+  - events
+  verbs:
+  - list
+  - watch
+  - create
+  - update
+  - patch
+- apiGroups:
+  - coordination.k8s.io
+  resources:
+  - leases
+  verbs:
+  - get
+  - list
+  - watch
+  - create
+  - update
+  - patch
+
--- HelmRelease: kube-system/csi-driver-smb ClusterRole: kube-system/csi-smb-node-secret-role

+++ HelmRelease: kube-system/csi-driver-smb ClusterRole: kube-system/csi-smb-node-secret-role

@@ -0,0 +1,17 @@

+---
+kind: ClusterRole
+apiVersion: rbac.authorization.k8s.io/v1
+metadata:
+  name: csi-smb-node-secret-role
+  labels:
+    app.kubernetes.io/instance: csi-driver-smb
+    app.kubernetes.io/managed-by: Helm
+    app.kubernetes.io/name: csi-driver-smb
+rules:
+- apiGroups:
+  - ''
+  resources:
+  - secrets
+  verbs:
+  - get
+
--- HelmRelease: kube-system/csi-driver-smb ClusterRoleBinding: kube-system/smb-csi-resizer-role

+++ HelmRelease: kube-system/csi-driver-smb ClusterRoleBinding: kube-system/smb-csi-resizer-role

@@ -0,0 +1,18 @@

+---
+kind: ClusterRoleBinding
+apiVersion: rbac.authorization.k8s.io/v1
+metadata:
+  name: smb-csi-resizer-role
+  labels:
+    app.kubernetes.io/instance: csi-driver-smb
+    app.kubernetes.io/managed-by: Helm
+    app.kubernetes.io/name: csi-driver-smb
+subjects:
+- kind: ServiceAccount
+  name: csi-smb-controller-sa
+  namespace: kube-system
+roleRef:
+  kind: ClusterRole
+  name: smb-external-resizer-role
+  apiGroup: rbac.authorization.k8s.io
+
--- HelmRelease: kube-system/csi-driver-smb ClusterRoleBinding: kube-system/csi-smb-node-secret-binding

+++ HelmRelease: kube-system/csi-driver-smb ClusterRoleBinding: kube-system/csi-smb-node-secret-binding

@@ -0,0 +1,18 @@

+---
+kind: ClusterRoleBinding
+apiVersion: rbac.authorization.k8s.io/v1
+metadata:
+  name: csi-smb-node-secret-binding
+  labels:
+    app.kubernetes.io/instance: csi-driver-smb
+    app.kubernetes.io/managed-by: Helm
+    app.kubernetes.io/name: csi-driver-smb
+subjects:
+- kind: ServiceAccount
+  name: csi-smb-node-sa
+  namespace: kube-system
+roleRef:
+  kind: ClusterRole
+  name: csi-smb-node-secret-role
+  apiGroup: rbac.authorization.k8s.io
+
--- HelmRelease: kube-system/csi-driver-smb DaemonSet: kube-system/csi-smb-node-win

+++ HelmRelease: kube-system/csi-driver-smb DaemonSet: kube-system/csi-smb-node-win

@@ -0,0 +1,118 @@

+---
+kind: DaemonSet
+apiVersion: apps/v1
+metadata:
+  name: csi-smb-node-win
+  namespace: kube-system
+  labels:
+    app.kubernetes.io/instance: csi-driver-smb
+    app.kubernetes.io/managed-by: Helm
+    app.kubernetes.io/name: csi-driver-smb
+spec:
+  updateStrategy:
+    rollingUpdate:
+      maxUnavailable: 1
+    type: RollingUpdate
+  selector:
+    matchLabels:
+      app: csi-smb-node-win
+  template:
+    metadata:
+      labels:
+        app.kubernetes.io/instance: csi-driver-smb
+        app.kubernetes.io/managed-by: Helm
+        app.kubernetes.io/name: csi-driver-smb
+        app: csi-smb-node-win
+    spec:
+      tolerations:
+      - effect: NoSchedule
+        key: node.kubernetes.io/os
+        operator: Exists
+      nodeSelector:
+        kubernetes.io/os: windows
+      priorityClassName: system-cluster-critical
+      securityContext:
+        seccompProfile:
+          type: RuntimeDefault
+        windowsOptions:
+          hostProcess: true
+          runAsUserName: NT AUTHORITY\SYSTEM
+      serviceAccountName: csi-smb-node-sa
+      hostNetwork: true
+      initContainers:
+      - name: init
+        image: registry.k8s.io/sig-storage/smbplugin:v1.17.0-windows-hp
+        imagePullPolicy: IfNotPresent
+        command:
+        - powershell.exe
+        - -c
+        - New-Item -ItemType Directory -Path C:\var\lib\kubelet\plugins\smb.csi.k8s.io\
+          -Force
+        securityContext:
+          capabilities:
+            drop:
+            - ALL
+      containers:
+      - name: node-driver-registrar
+        image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.13.0
+        command:
+        - csi-node-driver-registrar.exe
+        args:
+        - --csi-address=$(CSI_ENDPOINT)
+        - --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
+        - --plugin-registration-path=$(PLUGIN_REG_DIR)
+        - --v=2
+        env:
+        - name: CSI_ENDPOINT
+          value: unix://C:\var\lib\kubelet\plugins\smb.csi.k8s.io\csi.sock
+        - name: DRIVER_REG_SOCK_PATH
+          value: C:\\var\\lib\\kubelet\\plugins\\smb.csi.k8s.io\\csi.sock
+        - name: PLUGIN_REG_DIR
+          value: C:\\var\\lib\\kubelet\\plugins_registry\\
+        - name: KUBE_NODE_NAME
+          valueFrom:
+            fieldRef:
+              fieldPath: spec.nodeName
+        imagePullPolicy: IfNotPresent
+        resources:
+          limits:
+            memory: 150Mi
+          requests:
+            cpu: 10m
+            memory: 40Mi
+        securityContext:
+          capabilities:
+            drop:
+            - ALL
+      - name: smb
+        image: registry.k8s.io/sig-storage/smbplugin:v1.17.0-windows-hp
+        imagePullPolicy: IfNotPresent
+        command:
+        - smbplugin.exe
+        args:
+        - --v=5
+        - --drivername=smb.csi.k8s.io
+        - --endpoint=$(CSI_ENDPOINT)
+        - --nodeid=$(KUBE_NODE_NAME)
+        - --enable-get-volume-stats=true
+        - --remove-smb-mapping-during-unmount=true
+        - --enable-windows-host-process=true
+        env:
+        - name: CSI_ENDPOINT
+          value: unix://C:\var\lib\kubelet\plugins\smb.csi.k8s.io\csi.sock
+        - name: KUBE_NODE_NAME
+          valueFrom:
+            fieldRef:
+              apiVersion: v1
+              fieldPath: spec.nodeName
+        resources:
+          limits:
+            memory: 600Mi
+          requests:
+            cpu: 10m
+            memory: 40Mi
+        securityContext:
+          capabilities:
+            drop:
+            - ALL
+

@jfroy jfroy closed this Jan 26, 2025
@renovate renovate bot deleted the renovate/csi-driver-smb-1.x branch January 26, 2025 08:44
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.

1 participant