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 1
1
apiVersion : v2
2
2
name : lvm-localpv
3
3
description : 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
6
6
icon : https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png
7
7
home : https://openebs.io/
8
8
keywords :
@@ -16,5 +16,5 @@ sources:
16
16
- https://github.com/openebs/lvm-localpv
17
17
dependencies :
18
18
- name : crds
19
- version : 1.5.1
19
+ version : 1.6.0
20
20
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
92
92
| ` lvmPlugin.image.registry ` | Registry for openebs-lvm-plugin image | ` "" ` |
93
93
| ` lvmPlugin.image.repository ` | Image repository for openebs-lvm-plugin | ` openebs/lvm-driver ` |
94
94
| ` 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 ` |
96
96
| ` lvmPlugin.metricsPort ` | The TCP port number used for exposing lvm-metrics | ` 9500 ` |
97
97
| ` lvmPlugin.allowedTopologies ` | The comma seperated list of allowed node topologies | ` kubernetes.io/hostname, ` |
98
98
| ` lvmNode.driverRegistrar.image.registry ` | Registry for csi-node-driver-registrar image | ` registry.k8s.io/ ` |
Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : crds
3
- version : 1.5.1
3
+ version : 1.6.0
4
4
description : 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
136
136
{ {- printf " %s" .Values.lvmController.priorityClass.name | trunc 63 | trimSuffix " -" } }
137
137
{ {- end } }
138
138
{ {- 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 23
23
{{ toYaml . | nindent 8 }}
24
24
{{- end}}
25
25
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"
36
26
{{- if .Values.lvmController.priorityClass.create }}
37
27
priorityClassName : {{ template "lvmlocalpv.lvmController.priorityClassName" . }}
38
28
{{- end }}
Original file line number Diff line number Diff line change 47
47
- name : ADDRESS
48
48
value : /plugin/csi.sock
49
49
- 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 }}
51
51
- name : KUBE_NODE_NAME
52
52
valueFrom :
53
53
fieldRef :
@@ -117,7 +117,7 @@ spec:
117
117
- name : device-dir
118
118
mountPath : /dev
119
119
- name : pods-mount-dir
120
- mountPath : {{ .Values. lvmNode.kubeletDir }}
120
+ mountPath : {{ include "lvmlocalpv. lvmNode.kubeletDir" . | quote }}
121
121
# needed so that any mounts setup inside this container are
122
122
# propagated back to the host machine.
123
123
mountPropagation : " Bidirectional"
@@ -130,15 +130,15 @@ spec:
130
130
type : Directory
131
131
- name : registration-dir
132
132
hostPath :
133
- path : {{ .Values. lvmNode.kubeletDir }} plugins_registry/
133
+ path : {{ printf "%s%s" (include "lvmlocalpv. lvmNode.kubeletDir" .) " plugins_registry/" | quote }}
134
134
type : DirectoryOrCreate
135
135
- name : plugin-dir
136
136
hostPath :
137
- path : {{ .Values. lvmNode.kubeletDir }} plugins/lvm-localpv/
137
+ path : {{ printf "%s%s" (include "lvmlocalpv. lvmNode.kubeletDir" .) " plugins/lvm-localpv/" | quote }}
138
138
type : DirectoryOrCreate
139
139
- name : pods-mount-dir
140
140
hostPath :
141
- path : {{ .Values. lvmNode.kubeletDir }}
141
+ path : {{ include "lvmlocalpv. lvmNode.kubeletDir" . | quote }}
142
142
type : Directory
143
143
{{- if .Values.imagePullSecrets }}
144
144
imagePullSecrets :
Original file line number Diff line number Diff line change 2
2
# This is a YAML-formatted file.
3
3
# Declare variables to be passed into your templates.
4
4
release :
5
- version : " 1.5.1 "
5
+ version : " 1.6.0 "
6
6
7
7
imagePullSecrets :
8
8
# - name: "image-pull-secret"
@@ -151,7 +151,7 @@ lvmPlugin:
151
151
repository : openebs/lvm-driver
152
152
pullPolicy : IfNotPresent
153
153
# Overrides the image tag whose default is the chart appVersion.
154
- tag : 1.5 .0
154
+ tag : 1.6 .0
155
155
ioLimits :
156
156
enabled : false
157
157
containerRuntime : containerd
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ func extendVg(name string, device string) {
147
147
gomega .Expect (err_vg ).To (gomega .BeNil (), "vg extend failed" )
148
148
}
149
149
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.
151
151
func removeVg (name string ) {
152
152
ginkgo .By ("Removing vg" )
153
153
retries := 3
You can’t perform that action at this time.
0 commit comments