Skip to content

Commit

Permalink
chore(helm): bump csi sidecars and add storagecapacity in csidriver (#…
Browse files Browse the repository at this point in the history
…377)

Signed-off-by: prateekpandey14 <[email protected]>
  • Loading branch information
prateekpandey14 authored Sep 3, 2021
1 parent 5030cb4 commit bf437b9
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion deploy/helm/charts/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: zfs-localpv
description: Helm chart for CSI Driver for dynamic provisioning of ZFS Persistent Local Volumes. For instructions on how to use this helm chart, see - https://openebs.github.io/zfs-localpv/
version: 1.9.4
version: 1.9.5
appVersion: 1.9.1
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png
home: http://www.openebs.io/
Expand Down
6 changes: 3 additions & 3 deletions deploy/helm/charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ The following table lists the configurable parameters of the OpenEBS ZFS Localpv
| `zfsNode.driverRegistrar.image.registry`| Registry for csi-node-driver-registrar image| `k8s.gcr.io/`|
| `zfsNode.driverRegistrar.image.repository`| Image repository for csi-node-driver-registrar| `sig-storage/csi-node-driver-registrar`|
| `zfsNode.driverRegistrar.image.pullPolicy`| Image pull policy for csi-node-driver-registrar| `IfNotPresent`|
| `zfsNode.driverRegistrar.image.tag`| Image tag for csi-node-driver-registrar| `v1.2.0`|
| `zfsNode.driverRegistrar.image.tag`| Image tag for csi-node-driver-registrar| `v2.3.0`|
| `zfsNode.updateStrategy.type`| Update strategy for zfsnode daemonset | `RollingUpdate` |
| `zfsNode.kubeletDir`| Kubelet mount point for zfsnode daemonset| `"/var/lib/kubelet/"` |
| `zfsNode.annotations` | Annotations for zfsnode daemonset metadata| `""`|
Expand All @@ -96,7 +96,7 @@ The following table lists the configurable parameters of the OpenEBS ZFS Localpv
| `zfsController.resizer.image.registry`| Registry for csi-resizer image| `k8s.gcr.io/`|
| `zfsController.resizer.image.repository`| Image repository for csi-resizer| `sig-storage/csi-resizer`|
| `zfsController.resizer.image.pullPolicy`| Image pull policy for csi-resizer| `IfNotPresent`|
| `zfsController.resizer.image.tag`| Image tag for csi-resizer| `v1.1.0`|
| `zfsController.resizer.image.tag`| Image tag for csi-resizer| `v1.2.0`|
| `zfsController.snapshotter.image.registry`| Registry for csi-snapshotter image| `k8s.gcr.io/`|
| `zfsController.snapshotter.image.repository`| Image repository for csi-snapshotter| `sig-storage/csi-snapshotter`|
| `zfsController.snapshotter.image.pullPolicy`| Image pull policy for csi-snapshotter| `IfNotPresent`|
Expand All @@ -108,7 +108,7 @@ The following table lists the configurable parameters of the OpenEBS ZFS Localpv
| `zfsController.provisioner.image.registry`| Registry for csi-provisioner image| `k8s.gcr.io/`|
| `zfsController.provisioner.image.repository`| Image repository for csi-provisioner| `sig-storage/csi-provisioner`|
| `zfsController.provisioner.image.pullPolicy`| Image pull policy for csi-provisioner| `IfNotPresent`|
| `zfsController.provisioner.image.tag`| Image tag for csi-provisioner| `v2.1.0`|
| `zfsController.provisioner.image.tag`| Image tag for csi-provisioner| `v3.0.0`|
| `zfsController.updateStrategy.type`| Update strategy for zfs localpv controller statefulset | `RollingUpdate` |
| `zfsController.annotations` | Annotations for zfs localpv controller statefulset metadata| `""`|
| `zfsController.podAnnotations`| Annotations for zfs localpv controller statefulset's pods metadata | `""`|
Expand Down
1 change: 1 addition & 0 deletions deploy/helm/charts/templates/csidriver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ spec:
# do not require volumeattachment
attachRequired: false
podInfoOnMount: false
storageCapacity: {{ .Values.feature.storageCapacity }}
9 changes: 9 additions & 0 deletions deploy/helm/charts/templates/zfs-contoller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,20 @@ spec:
- "--feature-gates=Topology=true"
- "--strict-topology"
- "--leader-election"
- "--enable-capacity={{ .Values.feature.storageCapacity }}"
- "--extra-create-metadata=true"
- "--default-fstype=ext4"
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
Expand Down
10 changes: 7 additions & 3 deletions deploy/helm/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ release:
imagePullSecrets:
# - name: "image-pull-secret"

feature:
# enable storage capacity tracking feature
# Ref: https://kubernetes:io/docs/concepts/storage/storage-capacity
storageCapacity: true

rbac:
# rbac.pspEnabled: `true` if PodSecurityPolicy resources should be created
Expand All @@ -25,7 +29,7 @@ zfsNode:
repository: sig-storage/csi-node-driver-registrar
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: v2.1.0
tag: v2.3.0
updateStrategy:
type: RollingUpdate
annotations: {}
Expand Down Expand Up @@ -65,7 +69,7 @@ zfsController:
repository: sig-storage/csi-resizer
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: v1.1.0
tag: v1.2.0
snapshotter:
name: "csi-snapshotter"
image:
Expand Down Expand Up @@ -95,7 +99,7 @@ zfsController:
repository: sig-storage/csi-provisioner
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: v2.1.0
tag: v3.0.0
updateStrategy:
type: RollingUpdate
annotations: {}
Expand Down

0 comments on commit bf437b9

Please sign in to comment.