Skip to content

Commit 55d6f58

Browse files
authored
chore(charts): release v3.0.0 helm chart updates (#111)
* v3.0.0 helm chart updates + XFS Quota * Update OPENEBS_IO_INSTALLER_TYPE env for openebs-localpv-provisioner deployment Signed-off-by: Niladri Halder <[email protected]>
1 parent 7d0cd44 commit 55d6f58

File tree

6 files changed

+35
-17
lines changed

6 files changed

+35
-17
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.12.1
7+
version: 3.0.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.12.1
10+
appVersion: 3.0.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.1"
22+
version: "1.7.0"
2323
repository: "https://openebs.github.io/node-disk-manager"
2424
condition: openebsNDM.enabled
2525

deploy/helm/charts/README.md

Lines changed: 6 additions & 5 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.1 |
49+
| https://openebs.github.io/node-disk-manager | openebs-ndm | 1.7.0 |
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.12.1` |
95+
| `release.version` | LocalPV Provisioner release version | `3.0.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,18 +103,19 @@ 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.12.1` |
106+
| `helperPod.image.tag` | Image tag for helper image | `3.0.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"` |
110-
| `hostpathClass.nodeAffinityLabel` | Custom node label key to uniquely identify nodes. `kubernetes.io/hostname` is the default label key for node selection. | `""` |
110+
| `hostpathClass.nodeAffinityLabel` | Custom node label key to uniquely identify nodes. `kubernetes.io/hostname` is the default label key for node selection. | `""` |
111+
| `hostpathClass.xfsQuota.enabled` | Enable XFS Quota (requires XFS filesystem) | `false` |
111112
| `hostpathClass.reclaimPolicy` | ReclaimPolicy for Hostpath PVs | `"Delete"` |
112113
| `imagePullSecrets` | Provides image pull secrect | `""` |
113114
| `localpv.enabled` | Enable LocalPV Provisioner | `true` |
114115
| `localpv.image.registry` | Registry for LocalPV Provisioner image | `""` |
115116
| `localpv.image.repository` | Image repository for LocalPV Provisioner | `openebs/localpv-provisioner` |
116117
| `localpv.image.pullPolicy` | Image pull policy for LocalPV Provisioner | `IfNotPresent` |
117-
| `localpv.image.tag` | Image tag for LocalPV Provisioner | `2.12.1` |
118+
| `localpv.image.tag` | Image tag for LocalPV Provisioner | `3.0.0` |
118119
| `localpv.updateStrategy.type` | Update strategy for LocalPV Provisioner | `RollingUpdate` |
119120
| `localpv.annotations` | Annotations for LocalPV Provisioner metadata | `""` |
120121
| `localpv.podAnnotations` | Annotations for LocalPV Provisioner pods metadata | `""` |

deploy/helm/charts/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ spec:
8282
- name: OPENEBS_IO_HELPER_IMAGE
8383
value: "{{ .Values.helperPod.image.registry }}{{ .Values.helperPod.image.repository }}:{{ .Values.helperPod.image.tag }}"
8484
- name: OPENEBS_IO_INSTALLER_TYPE
85-
value: "charts-helm"
85+
value: "localpv-charts-helm"
8686
# LEADER_ELECTION_ENABLED is used to enable/disable leader election. By default
8787
# leader election is enabled.
8888
- name: LEADER_ELECTION_ENABLED

deploy/helm/charts/templates/device-class.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ metadata:
1010
value: "device"
1111
{{- if .Values.deviceClass.fsType }}
1212
- name: FSType
13-
value: {{ .Values.deviceClass.fsType }}
13+
value: "{{ .Values.deviceClass.fsType }}"
1414
{{- end }}
1515
{{- if .Values.deviceClass.blockDeviceTag }}
1616
- name: BlockDeviceTag
17-
value: {{ .Values.deviceClass.blockDeviceTag }}
17+
value: "{{ .Values.deviceClass.blockDeviceTag }}"
1818
{{- end }}
1919
{{- if .Values.deviceClass.isDefaultClass }}
2020
storageclass.kubernetes.io/is-default-class: "true"
2121
{{- end }}
2222
provisioner: openebs.io/local
2323
volumeBindingMode: WaitForFirstConsumer
2424
reclaimPolicy: {{ .Values.deviceClass.reclaimPolicy }}
25-
{{- end }}
25+
{{- end }}

deploy/helm/charts/templates/hostpath-class.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,18 @@ metadata:
1010
value: "hostpath"
1111
{{- if .Values.hostpathClass.basePath }}
1212
- name: BasePath
13-
value: {{ .Values.hostpathClass.basePath }}
13+
value: "{{ .Values.hostpathClass.basePath }}"
1414
{{- end }}
1515
{{- if .Values.hostpathClass.nodeAffinityLabel }}
1616
- name: NodeAffinityLabel
17-
value: {{ .Values.hostpathClass.nodeAffinityLabel }}
17+
value: "{{ .Values.hostpathClass.nodeAffinityLabel }}"
18+
{{- end }}
19+
{{- if .Values.hostpathClass.xfsQuota.enabled }}
20+
- name: XFSQuota
21+
enabled: "{{ .Values.hostpathClass.xfsQuota.enabled }}"
22+
data:
23+
softLimitGrace: "{{ .Values.hostpathClass.xfsQuota.softLimitGrace }}"
24+
hardLimitGrace: "{{ .Values.hostpathClass.xfsQuota.hardLimitGrace }}"
1825
{{- end }}
1926
{{- if .Values.hostpathClass.isDefaultClass }}
2027
storageclass.kubernetes.io/is-default-class: "true"

deploy/helm/charts/values.yaml

Lines changed: 13 additions & 3 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.12.1"
6+
version: "3.0.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.12.1
26+
tag: 3.0.0
2727
pullPolicy: IfNotPresent
2828
updateStrategy:
2929
type: RollingUpdate
@@ -111,14 +111,24 @@ hostpathClass:
111111
# This helps in cases where the hostname changes when the node is removed and
112112
# added back with the disks still intact.
113113
nodeAffinityLabel: ""
114+
# Prerequisite: XFS Quota requires an XFS filesystem mounted with
115+
# the 'pquota' or 'prjquota' mount option.
116+
xfsQuota:
117+
# If true, enables XFS project quota
118+
enabled: false
119+
# Detailed configuration options for XFS project quota.
120+
# If XFS Quota is enabled with the default values, the usage limit
121+
# is set at the storage capacity specified in the PVC.
122+
softLimitGrace: "0%"
123+
hardLimitGrace: "0%"
114124

115125
helperPod:
116126
image:
117127
registry: ""
118128
repository: openebs/linux-utils
119129
pullPolicy: IfNotPresent
120130
# Overrides the image tag whose default is the chart appVersion.
121-
tag: 2.12.1
131+
tag: 3.0.0
122132

123133
analytics:
124134
enabled: true

0 commit comments

Comments
 (0)