File tree Expand file tree Collapse file tree 8 files changed +20
-23
lines changed
Expand file tree Collapse file tree 8 files changed +20
-23
lines changed Original file line number Diff line number Diff line change 11apiVersion : v2
22name : lvm-localpv
33description : CSI Driver for dynamic provisioning of LVM Persistent Local Volumes.
4- version : 1.5.1
5- appVersion : 1.5 .0
4+ version : 1.6.0
5+ appVersion : 1.6 .0
66icon : https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png
77home : https://openebs.io/
88keywords :
@@ -16,5 +16,5 @@ sources:
1616- https://github.com/openebs/lvm-localpv
1717dependencies :
1818 - name : crds
19- version : 1.5.1
19+ version : 1.6.0
2020 condition : crds.enabled
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ helm install openebs-lvmlocalpv openebs-lvmlocalpv/lvm-localpv --namespace opene
9292| ` lvmPlugin.image.registry ` | Registry for openebs-lvm-plugin image | ` "" ` |
9393| ` lvmPlugin.image.repository ` | Image repository for openebs-lvm-plugin | ` openebs/lvm-driver ` |
9494| ` lvmPlugin.image.pullPolicy ` | Image pull policy for openebs-lvm-plugin | ` IfNotPresent ` |
95- | ` lvmPlugin.image.tag ` | Image tag for openebs-lvm-plugin | ` 1.5 .0 ` |
95+ | ` lvmPlugin.image.tag ` | Image tag for openebs-lvm-plugin | ` 1.6 .0 ` |
9696| ` lvmPlugin.metricsPort ` | The TCP port number used for exposing lvm-metrics | ` 9500 ` |
9797| ` lvmPlugin.allowedTopologies ` | The comma seperated list of allowed node topologies | ` kubernetes.io/hostname, ` |
9898| ` lvmNode.driverRegistrar.image.registry ` | Registry for csi-node-driver-registrar image | ` registry.k8s.io/ ` |
Original file line number Diff line number Diff line change 11apiVersion : v2
22name : crds
3- version : 1.5.1
3+ version : 1.6.0
44description : A Helm chart that collects CustomResourceDefinitions (CRDs) from lvm-localpv.
Original file line number Diff line number Diff line change @@ -136,3 +136,10 @@ Create the name of the priority class for csi controller plugin
136136{ {- printf " %s" .Values.lvmController.priorityClass.name | trunc 63 | trimSuffix " -" } }
137137{ {- end } }
138138{ {- end } }
139+
140+ { {/*
141+ Ensure that the path to kubelet ends with a slash
142+ */} }
143+ { {- define " lvmlocalpv.lvmNode.kubeletDir" -} }
144+ { {- printf " %s/" (.Values.lvmNode.kubeletDir | trimSuffix " /" ) -} }
145+ { {- end } }
Original file line number Diff line number Diff line change 2323 {{ toYaml . | nindent 8 }}
2424 {{- end}}
2525 spec :
26- affinity :
27- podAntiAffinity :
28- requiredDuringSchedulingIgnoredDuringExecution :
29- - labelSelector :
30- matchExpressions :
31- - key : app
32- operator : In
33- values :
34- - openebs-lvm-controller
35- topologyKey : " kubernetes.io/hostname"
3626{{- if .Values.lvmController.priorityClass.create }}
3727 priorityClassName : {{ template "lvmlocalpv.lvmController.priorityClassName" . }}
3828{{- end }}
Original file line number Diff line number Diff line change 4747 - name : ADDRESS
4848 value : /plugin/csi.sock
4949 - name : DRIVER_REG_SOCK_PATH
50- value : {{ .Values. lvmNode.kubeletDir }} plugins/lvm-localpv/csi.sock
50+ value : {{ printf "%s%s" (include "lvmlocalpv. lvmNode.kubeletDir" .) " plugins/lvm-localpv/csi.sock" | quote }}
5151 - name : KUBE_NODE_NAME
5252 valueFrom :
5353 fieldRef :
@@ -117,7 +117,7 @@ spec:
117117 - name : device-dir
118118 mountPath : /dev
119119 - name : pods-mount-dir
120- mountPath : {{ .Values. lvmNode.kubeletDir }}
120+ mountPath : {{ include "lvmlocalpv. lvmNode.kubeletDir" . | quote }}
121121 # needed so that any mounts setup inside this container are
122122 # propagated back to the host machine.
123123 mountPropagation : " Bidirectional"
@@ -130,15 +130,15 @@ spec:
130130 type : Directory
131131 - name : registration-dir
132132 hostPath :
133- path : {{ .Values. lvmNode.kubeletDir }} plugins_registry/
133+ path : {{ printf "%s%s" (include "lvmlocalpv. lvmNode.kubeletDir" .) " plugins_registry/" | quote }}
134134 type : DirectoryOrCreate
135135 - name : plugin-dir
136136 hostPath :
137- path : {{ .Values. lvmNode.kubeletDir }} plugins/lvm-localpv/
137+ path : {{ printf "%s%s" (include "lvmlocalpv. lvmNode.kubeletDir" .) " plugins/lvm-localpv/" | quote }}
138138 type : DirectoryOrCreate
139139 - name : pods-mount-dir
140140 hostPath :
141- path : {{ .Values. lvmNode.kubeletDir }}
141+ path : {{ include "lvmlocalpv. lvmNode.kubeletDir" . | quote }}
142142 type : Directory
143143{{- if .Values.imagePullSecrets }}
144144 imagePullSecrets :
Original file line number Diff line number Diff line change 22# This is a YAML-formatted file.
33# Declare variables to be passed into your templates.
44release :
5- version : " 1.5.1 "
5+ version : " 1.6.0 "
66
77imagePullSecrets :
88# - name: "image-pull-secret"
@@ -151,7 +151,7 @@ lvmPlugin:
151151 repository : openebs/lvm-driver
152152 pullPolicy : IfNotPresent
153153 # Overrides the image tag whose default is the chart appVersion.
154- tag : 1.5 .0
154+ tag : 1.6 .0
155155 ioLimits :
156156 enabled : false
157157 containerRuntime : containerd
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ func extendVg(name string, device string) {
147147 gomega .Expect (err_vg ).To (gomega .BeNil (), "vg extend failed" )
148148}
149149
150- // Does vgremove on specified vg with -y flag if vg isnt empty after fer retires.
150+ // Does vgremove on specified vg with -y flag if vg isnt empty after few retires.
151151func removeVg (name string ) {
152152 ginkgo .By ("Removing vg" )
153153 retries := 3
You can’t perform that action at this time.
0 commit comments