Skip to content

Commit 9884bd9

Browse files
authored
chore(helm-chart): update localpv-provisioner helm chart to v2.12.0 (#88)
* Chart bump and --bd-time-out flag * Update deploy/helm/charts/values.yaml Signed-off-by: Niladri Halder <[email protected]>
1 parent 46ac0ac commit 9884bd9

File tree

4 files changed

+25
-13
lines changed

4 files changed

+25
-13
lines changed

deploy/helm/charts/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ description: Helm chart for OpenEBS Dynamic Local PV. For instructions to instal
44
type: application
55
# This is the chart version. This version number should be incremented each time you make changes
66
# to the chart and its templates, including the app version.
7-
version: 2.11.1
7+
version: 2.12.0
88
# This is the version number of the application being deployed. This version number should be
99
# incremented each time you make changes to the application.
10-
appVersion: 2.11.1
10+
appVersion: 2.12.0
1111
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png
1212
home: http://www.openebs.io/
1313
keywords:
@@ -19,7 +19,7 @@ sources:
1919

2020
dependencies:
2121
- name: openebs-ndm
22-
version: "1.6.0"
22+
version: "1.6.1"
2323
repository: "https://openebs.github.io/node-disk-manager"
2424
condition: openebsNDM.enabled
2525

deploy/helm/charts/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ By default this chart installs additional, dependent charts:
4646

4747
| Repository | Name | Version |
4848
|------------|------|---------|
49-
| https://openebs.github.io/node-disk-manager | openebs-ndm | 1.6.0 |
49+
| https://openebs.github.io/node-disk-manager | openebs-ndm | 1.6.1 |
5050

5151
**Note:** Find detailed Node Disk Manager Helm chart configuration options [here](https://github.com/openebs/node-disk-manager/blob/master/deploy/helm/charts/README.md).
5252

@@ -92,7 +92,7 @@ helm install openebs-localpv openebs-localpv/localpv-provisioner --namespace ope
9292

9393
| Parameter | Description | Default |
9494
| ------------------------------------------- | --------------------------------------------- | ----------------------------------------- |
95-
| `release.version` | LocalPV Provisioner release version | `2.11.1` |
95+
| `release.version` | LocalPV Provisioner release version | `2.12.0` |
9696
| `analytics.enabled` | Enable sending stats to Google Analytics | `true` |
9797
| `analytics.pingInterval` | Duration(hours) between sending ping stat | `24h` |
9898
| `deviceClass.blockDeviceTag` | Value of `openebs.io/block-device-tag` BD label | `""` |
@@ -103,7 +103,7 @@ helm install openebs-localpv openebs-localpv/localpv-provisioner --namespace ope
103103
| `helperPod.image.registry` | Registry for helper image | `""` |
104104
| `helperPod.image.repository` | Image for helper pod | `"openebs/linux-utils"` |
105105
| `helperPod.image.pullPolicy` | Pull policy for helper pod | `"IfNotPresent"` |
106-
| `helperPod.image.tag` | Image tag for helper image | `2.11.0` |
106+
| `helperPod.image.tag` | Image tag for helper image | `2.12.0` |
107107
| `hostpathClass.basePath` | BasePath for openebs-hostpath StorageClass | `"/var/openebs/local"` |
108108
| `hostpathClass.enabled` | Enables creation of default Hostpath StorageClass | `true` |
109109
| `hostpathClass.isDefaultClass` | Make openebs-hostpath the default StorageClass | `"false"` |
@@ -114,7 +114,7 @@ helm install openebs-localpv openebs-localpv/localpv-provisioner --namespace ope
114114
| `localpv.image.registry` | Registry for LocalPV Provisioner image | `""` |
115115
| `localpv.image.repository` | Image repository for LocalPV Provisioner | `openebs/localpv-provisioner` |
116116
| `localpv.image.pullPolicy` | Image pull policy for LocalPV Provisioner | `IfNotPresent` |
117-
| `localpv.image.tag` | Image tag for LocalPV Provisioner | `2.11.1` |
117+
| `localpv.image.tag` | Image tag for LocalPV Provisioner | `2.12.0` |
118118
| `localpv.updateStrategy.type` | Update strategy for LocalPV Provisioner | `RollingUpdate` |
119119
| `localpv.annotations` | Annotations for LocalPV Provisioner metadata | `""` |
120120
| `localpv.podAnnotations` | Annotations for LocalPV Provisioner pods metadata | `""` |
@@ -129,6 +129,7 @@ helm install openebs-localpv openebs-localpv/localpv-provisioner --namespace ope
129129
| `localpv.replicas` | No. of LocalPV Provisioner replica | `1` |
130130
| `localpv.enableLeaderElection` | Enable leader election | `true` |
131131
| `localpv.affinity` | LocalPV Provisioner pod affinity | `{}` |
132+
| `localpv.waitForBDBindTimeoutRetryCount` | This sets the number of times the provisioner should try with a polling interval of 5 seconds, to get the Blockdevice Name from a BlockDeviceClaim, before the BlockDeviceClaim is deleted. | "12" |
132133
| `openebsNDM.enabled` | Install openebs NDM dependency | `true` |
133134
| `rbac.create` | Enable RBAC Resources | `true` |
134135
| `rbac.pspEnabled` | Create pod security policy resources | `false` |

deploy/helm/charts/templates/deployment.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ spec:
4040
imagePullPolicy: {{ .Values.localpv.image.pullPolicy }}
4141
resources:
4242
{{ toYaml .Values.localpv.resources | indent 10 }}
43+
args:
44+
- "--bd-time-out=$(BDC_BD_BIND_RETRIES)"
4345
env:
4446
# OPENEBS_IO_K8S_MASTER enables openebs provisioner to connect to K8s
4547
# based on this address. This is ignored if empty.
@@ -51,8 +53,12 @@ spec:
5153
# This is supported for openebs provisioner version 0.5.2 onwards
5254
#- name: OPENEBS_IO_KUBE_CONFIG
5355
# value: "/home/ubuntu/.kube/config"
54-
# OPENEBS_NAMESPACE is the namespace that this provisioner will
55-
# lookup to find maya api service
56+
# This sets the number of times the provisioner should try
57+
# with a polling interval of 5 seconds, to get the Blockdevice
58+
# Name from a BlockDeviceClaim, before the BlockDeviceClaim
59+
# is deleted. E.g. 12 * 5 seconds = 60 seconds timeout
60+
- name: BDC_BD_BIND_RETRIES
61+
value: "{{ .Values.localpv.waitForBDBindTimeoutRetryCount }}"
5662
- name: OPENEBS_NAMESPACE
5763
valueFrom:
5864
fieldRef:

deploy/helm/charts/values.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Declare variables to be passed into your templates.
44

55
release:
6-
version: "2.11.1"
6+
version: "2.12.0"
77

88
rbac:
99
# rbac.create: `true` if rbac resources should be created
@@ -23,7 +23,7 @@ localpv:
2323
# For example : quay.io/ is a correct value here and quay.io is incorrect
2424
registry:
2525
repository: openebs/provisioner-localpv
26-
tag: 2.11.1
26+
tag: 2.12.0
2727
pullPolicy: IfNotPresent
2828
updateStrategy:
2929
type: RollingUpdate
@@ -40,6 +40,11 @@ localpv:
4040
replicas: 1
4141
enableLeaderElection: true
4242
basePath: "/var/openebs/local"
43+
# This sets the number of times the provisioner should try
44+
# with a polling interval of 5 seconds, to get the Blockdevice
45+
# Name from a BlockDeviceClaim, before the BlockDeviceClaim
46+
# is deleted. E.g. 12 * 5 seconds = 60 seconds timeout
47+
waitForBDBindTimeoutRetryCount: "12"
4348
resources:
4449
# We usually recommend not to specify default resources and to leave this as a conscious
4550
# choice for the user. This also increases chances charts run on environments with little
@@ -57,7 +62,7 @@ localpv:
5762
securityContext: {}
5863

5964
imagePullSecrets:
60-
# - name: img-pull-secret
65+
# - name: img-pull-secret
6166

6267
podSecurityContext: {}
6368
# fsGroup: 2000
@@ -113,7 +118,7 @@ helperPod:
113118
repository: openebs/linux-utils
114119
pullPolicy: IfNotPresent
115120
# Overrides the image tag whose default is the chart appVersion.
116-
tag: 2.11.0
121+
tag: 2.12.0
117122

118123
analytics:
119124
enabled: true

0 commit comments

Comments
 (0)