generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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 csi-driver-smb to v1.17.0 #375
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/csi-driver-smb-1.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- kubernetes/apps/storage/csi-driver-smb/app Kustomization: flux-system/csi-driver-smb HelmRelease: storage/csi-driver-smb
+++ kubernetes/apps/storage/csi-driver-smb/app Kustomization: flux-system/csi-driver-smb HelmRelease: storage/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
install:
remediation:
retries: 3
interval: 30m
uninstall:
keepHistory: false |
--- HelmRelease: storage/csi-driver-smb DaemonSet: storage/csi-smb-node
+++ HelmRelease: storage/csi-driver-smb DaemonSet: storage/csi-smb-node
@@ -38,13 +38,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
@@ -57,25 +57,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
@@ -92,13 +84,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: storage/csi-driver-smb Deployment: storage/csi-smb-controller
+++ HelmRelease: storage/csi-driver-smb Deployment: storage/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=storage
- --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=storage
+ - -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: storage/csi-driver-smb CSIDriver: storage/smb.csi.k8s.io
+++ HelmRelease: storage/csi-driver-smb CSIDriver: storage/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: storage/csi-driver-smb ClusterRole: storage/smb-external-resizer-role
+++ HelmRelease: storage/csi-driver-smb ClusterRole: storage/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: storage/csi-driver-smb ClusterRole: storage/csi-smb-node-secret-role
+++ HelmRelease: storage/csi-driver-smb ClusterRole: storage/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: storage/csi-driver-smb ClusterRoleBinding: storage/smb-csi-resizer-role
+++ HelmRelease: storage/csi-driver-smb ClusterRoleBinding: storage/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: storage
+roleRef:
+ kind: ClusterRole
+ name: smb-external-resizer-role
+ apiGroup: rbac.authorization.k8s.io
+
--- HelmRelease: storage/csi-driver-smb ClusterRoleBinding: storage/csi-smb-node-secret-binding
+++ HelmRelease: storage/csi-driver-smb ClusterRoleBinding: storage/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: storage
+roleRef:
+ kind: ClusterRole
+ name: csi-smb-node-secret-role
+ apiGroup: rbac.authorization.k8s.io
+
--- HelmRelease: storage/csi-driver-smb DaemonSet: storage/csi-smb-node-win
+++ HelmRelease: storage/csi-driver-smb DaemonSet: storage/csi-smb-node-win
@@ -0,0 +1,119 @@
+---
+kind: DaemonSet
+apiVersion: apps/v1
+metadata:
+ name: csi-smb-node-win
+ namespace: storage
+ 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
+ node-role.kubernetes.io/worker: ''
+ 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
+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.16.0
->v1.17.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), 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.
This PR was generated by Mend Renovate. View the repository job log.