From 7a03e6bcf3e44264c27409a2c1d4fdadbae932d5 Mon Sep 17 00:00:00 2001 From: stncrn Date: Wed, 6 Oct 2021 15:49:45 +0200 Subject: [PATCH 1/8] Fix maya-apiserver liveness probe Solves 'Liveness probe failed: Invalid m-apiserver address' --- .../openebs/templates/legacy/deployment-maya-apiserver.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/openebs/templates/legacy/deployment-maya-apiserver.yaml b/charts/openebs/templates/legacy/deployment-maya-apiserver.yaml index 26419c9d..63e10d82 100644 --- a/charts/openebs/templates/legacy/deployment-maya-apiserver.yaml +++ b/charts/openebs/templates/legacy/deployment-maya-apiserver.yaml @@ -158,9 +158,9 @@ spec: livenessProbe: exec: command: - - /usr/local/bin/mayactl - - -m $MY_POD_IP - - version + - /bin/sh + - -c + - /usr/local/bin/mayactl -m $MY_POD_IP version initialDelaySeconds: {{ .Values.apiserver.healthCheck.initialDelaySeconds }} periodSeconds: {{ .Values.apiserver.healthCheck.periodSeconds }} {{- if .Values.apiserver.nodeSelector }} From feb4304e74ca136ba73d7cc4caaac2df42406948 Mon Sep 17 00:00:00 2001 From: prateekpandey14 Date: Tue, 26 Oct 2021 20:34:51 +0530 Subject: [PATCH 2/8] bump the chart version to 3.0.3 Signed-off-by: prateekpandey14 --- charts/openebs/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/openebs/Chart.yaml b/charts/openebs/Chart.yaml index df8728ca..dc1aea50 100644 --- a/charts/openebs/Chart.yaml +++ b/charts/openebs/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -version: 3.0.2 +version: 3.0.3 name: openebs appVersion: 3.0.1 description: Containerized Attached Storage for Kubernetes From 860df6ff2de260582d967e293e6c11325ba0c8dc Mon Sep 17 00:00:00 2001 From: mittachaitu Date: Thu, 11 Nov 2021 19:08:05 +0530 Subject: [PATCH 3/8] [stable/openebs]: update openebs chart to use 0.8.0 version of NFS This PR updates the openebs chart to use 0.8.0 version of Dynamic-NFS provisioner Signed-off-by: mittachaitu --- charts/openebs/Chart.yaml | 4 ++-- charts/openebs/values.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/openebs/Chart.yaml b/charts/openebs/Chart.yaml index dc1aea50..2fa5cc5e 100644 --- a/charts/openebs/Chart.yaml +++ b/charts/openebs/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -version: 3.0.3 +version: 3.0.4 name: openebs appVersion: 3.0.1 description: Containerized Attached Storage for Kubernetes @@ -48,6 +48,6 @@ dependencies: repository: "https://openebs.github.io/lvm-localpv" condition: lvm-localpv.enabled - name: nfs-provisioner - version: "0.7.1" + version: "0.8.0" repository: "https://openebs.github.io/dynamic-nfs-provisioner" condition: nfs-provisioner.enabled diff --git a/charts/openebs/values.yaml b/charts/openebs/values.yaml index da667333..dc1f5d28 100644 --- a/charts/openebs/values.yaml +++ b/charts/openebs/values.yaml @@ -656,13 +656,13 @@ nfs-provisioner: # image: # registry: # repository: openebs/provisioner-nfs -# tag: 0.7.1 +# tag: 0.8.0 # pullPolicy: IfNotPresent # enableLeaderElection: "true" # nfsServerAlpineImage: # registry: # repository: openebs/nfs-server-alpine -# tag: 0.7.1 +# tag: 0.8.0 cleanup: image: From e46fbd88cfdec64e41266c6ad26b068c19d4cabc Mon Sep 17 00:00:00 2001 From: shubham Date: Fri, 26 Nov 2021 17:51:15 +0530 Subject: [PATCH 4/8] [stable/openebs]: update openebs chart to use latest version of jiva & cstor This PR updates the openebs chart to use - 3.0.5 version of jiva-operator - 3.0.2 version of cstor-operator Signed-off-by: shubham --- charts/openebs/Chart.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/openebs/Chart.yaml b/charts/openebs/Chart.yaml index 2fa5cc5e..698e836a 100644 --- a/charts/openebs/Chart.yaml +++ b/charts/openebs/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -version: 3.0.4 +version: 3.0.5 name: openebs appVersion: 3.0.1 description: Containerized Attached Storage for Kubernetes @@ -32,11 +32,11 @@ dependencies: repository: "https://openebs.github.io/dynamic-localpv-provisioner" condition: localpv-provisioner.enabled - name: cstor - version: "3.0.1" + version: "3.0.2" repository: "https://openebs.github.io/cstor-operators" condition: cstor.enabled - name: jiva - version: "3.0.1" + version: "3.0.5" repository: "https://openebs.github.io/jiva-operator" condition: jiva.enabled - name: zfs-localpv From 8030be765342fbb6c1af9ca5e8572700c60e7469 Mon Sep 17 00:00:00 2001 From: Sebastien Dionne Date: Thu, 2 Dec 2021 10:18:52 -0500 Subject: [PATCH 5/8] added feature gates into the params list --- charts/openebs/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/charts/openebs/README.md b/charts/openebs/README.md index d3aff74f..f3db71ca 100644 --- a/charts/openebs/README.md +++ b/charts/openebs/README.md @@ -109,10 +109,15 @@ The following table lists the common configurable parameters of the OpenEBS char | `cstor.volumeMgmt.image` | Image for cStor Volume Management | `openebs/cstor-volume-mgmt` | | `cstor.volumeMgmt.imageTag` | Image Tag for cStor Volume Management | `2.12.2` | | `defaultStorageConfig.enabled` | Enable default storage class installation | `true` | +| `featureGates.enabled` | Enable feature gates | `true` | +| `featureGates.GPTBasedUUID.enabled` | Enable feature gate : GPTBasedUUID | `true` | +| `featureGates.APIService.enabled` | Enable feature gate : APIService | `false | +| `featureGates.UseOSDisk.enabled` | Enable feature gate : UseOSDisk | `false | +| `featureGates.ChangeDetection.enabled` | Enable feature gate : ChangeDetection | `false | | `healthCheck.initialDelaySeconds` | Delay before liveness probe is initiated | `30` | | `healthCheck.periodSeconds` | How often to perform the liveness probe | `60` | | `helper.image` | Image for helper | `openebs/linux-utils` | -| `helper.imageTag` | Image Tag for helper | `3.0.0` | +| `helper.imageTag` | Image Tag for helper | `3.0.0` | | `image.pullPolicy` | Container pull policy | `IfNotPresent` | | `image.repository` | Specify which docker registry to use | `""` | | `jiva.defaultStoragePath` | hostpath used by default Jiva StorageClass | `/var/openebs` | @@ -122,7 +127,7 @@ The following table lists the common configurable parameters of the OpenEBS char | `localprovisioner.basePath` | BasePath for hostPath volumes on Nodes | `/var/openebs/local` | | `localprovisioner.enabled` | Enable localProvisioner | `true` | | `localprovisioner.image` | Image for localProvisioner | `openebs/provisioner-localpv` | -| `localprovisioner.imageTag` | Image Tag for localProvisioner | `3.0.0` | +| `localprovisioner.imageTag` | Image Tag for localProvisioner | `3.0.0` | | `ndm.enabled` | Enable Node Disk Manager | `true` | | `ndm.filters.enableOsDiskExcludeFilter` | Enable filters of OS disk exclude | `true` | | `ndm.filters.enablePathFilter` | Enable filters of paths | `true` | From b5c9967924decd03f531f3fa48fcbb41cdb80369 Mon Sep 17 00:00:00 2001 From: Sebastien Dionne Date: Thu, 2 Dec 2021 10:19:42 -0500 Subject: [PATCH 6/8] Update README.md --- charts/openebs/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/openebs/README.md b/charts/openebs/README.md index f3db71ca..b7c34d62 100644 --- a/charts/openebs/README.md +++ b/charts/openebs/README.md @@ -111,9 +111,9 @@ The following table lists the common configurable parameters of the OpenEBS char | `defaultStorageConfig.enabled` | Enable default storage class installation | `true` | | `featureGates.enabled` | Enable feature gates | `true` | | `featureGates.GPTBasedUUID.enabled` | Enable feature gate : GPTBasedUUID | `true` | -| `featureGates.APIService.enabled` | Enable feature gate : APIService | `false | -| `featureGates.UseOSDisk.enabled` | Enable feature gate : UseOSDisk | `false | -| `featureGates.ChangeDetection.enabled` | Enable feature gate : ChangeDetection | `false | +| `featureGates.APIService.enabled` | Enable feature gate : APIService | `false` | +| `featureGates.UseOSDisk.enabled` | Enable feature gate : UseOSDisk | `false` | +| `featureGates.ChangeDetection.enabled` | Enable feature gate : ChangeDetection | `false` | | `healthCheck.initialDelaySeconds` | Delay before liveness probe is initiated | `30` | | `healthCheck.periodSeconds` | How often to perform the liveness probe | `60` | | `helper.image` | Image for helper | `openebs/linux-utils` | From ef47aaaea93a8a7ad498703758d6c2ef5980535f Mon Sep 17 00:00:00 2001 From: Sebastien Dionne Date: Fri, 3 Dec 2021 10:52:29 -0500 Subject: [PATCH 7/8] bump version --- charts/openebs/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/openebs/Chart.yaml b/charts/openebs/Chart.yaml index 698e836a..20a04f34 100644 --- a/charts/openebs/Chart.yaml +++ b/charts/openebs/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -version: 3.0.5 +version: 3.0.6 name: openebs appVersion: 3.0.1 description: Containerized Attached Storage for Kubernetes From 5df6763e87283308cec4b147b4e5375735801364 Mon Sep 17 00:00:00 2001 From: Niladri Halder Date: Mon, 17 Jan 2022 14:45:53 +0530 Subject: [PATCH 8/8] release(helm-chart): changes for OpenEBS v3.1.0 helm chart (#299) * release(helm-chart): changes for OpenEBS v3.1.0 helm chart Signed-off-by: Niladri Halder * add NDM PartitionTableUUID changes Signed-off-by: Niladri Halder * Fix typo remove-->removed Signed-off-by: Niladri Halder * Fix typo OR-->AND Signed-off-by: Niladri Halder * simplify deviceClass/hostpathClass enable/disable template logic Signed-off-by: Niladri Halder * Update README.md default image version values Signed-off-by: Niladri Halder * Fix localpvprovisioner file comment indentation Signed-off-by: Niladri Halder * Link reclaimPolicy and name parameters to templates for LocalPV storageClasses Signed-off-by: Niladri Halder * Remove 3 trailing space characters Signed-off-by: Niladri Halder * Remove 1 trailing space character Signed-off-by: Niladri Halder --- charts/openebs/Chart.yaml | 18 +-- charts/openebs/README.md | 9 +- charts/openebs/templates/NOTES.txt | 22 ++- .../deployment-local-provisioner.yaml | 8 +- .../localprovisioner/device-class.yaml | 25 +++- .../localprovisioner/hostpath-class.yaml | 20 ++- .../openebs/templates/ndm/daemonset-ndm.yaml | 3 + charts/openebs/values.yaml | 134 ++++++++++++++---- 8 files changed, 183 insertions(+), 56 deletions(-) diff --git a/charts/openebs/Chart.yaml b/charts/openebs/Chart.yaml index 20a04f34..b85b1cbb 100644 --- a/charts/openebs/Chart.yaml +++ b/charts/openebs/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 -version: 3.0.6 +version: 3.1.0 name: openebs -appVersion: 3.0.1 +appVersion: 3.1.0 description: Containerized Attached Storage for Kubernetes icon: https://raw.githubusercontent.com/cncf/artwork/HEAD/projects/openebs/icon/color/openebs-icon-color.png home: http://www.openebs.io/ @@ -24,30 +24,30 @@ maintainers: email: shovan.maity@mayadata.io dependencies: - name: openebs-ndm - version: "1.7.1" + version: "1.8.0" repository: "https://openebs.github.io/node-disk-manager" condition: openebs-ndm.enabled - name: localpv-provisioner - version: "3.0.1" + version: "3.1.0" repository: "https://openebs.github.io/dynamic-localpv-provisioner" condition: localpv-provisioner.enabled - name: cstor - version: "3.0.2" + version: "3.1.0" repository: "https://openebs.github.io/cstor-operators" condition: cstor.enabled - name: jiva - version: "3.0.5" + version: "3.1.0" repository: "https://openebs.github.io/jiva-operator" condition: jiva.enabled - name: zfs-localpv - version: "1.9.8" + version: "2.0.0" repository: "https://openebs.github.io/zfs-localpv" condition: zfs-localpv.enabled - name: lvm-localpv - version: "0.8.5" + version: "0.8.6" repository: "https://openebs.github.io/lvm-localpv" condition: lvm-localpv.enabled - name: nfs-provisioner - version: "0.8.0" + version: "0.9.0" repository: "https://openebs.github.io/dynamic-nfs-provisioner" condition: nfs-provisioner.enabled diff --git a/charts/openebs/README.md b/charts/openebs/README.md index b7c34d62..2cf70f2a 100644 --- a/charts/openebs/README.md +++ b/charts/openebs/README.md @@ -117,7 +117,7 @@ The following table lists the common configurable parameters of the OpenEBS char | `healthCheck.initialDelaySeconds` | Delay before liveness probe is initiated | `30` | | `healthCheck.periodSeconds` | How often to perform the liveness probe | `60` | | `helper.image` | Image for helper | `openebs/linux-utils` | -| `helper.imageTag` | Image Tag for helper | `3.0.0` | +| `helper.imageTag` | Image Tag for helper | `3.1.0` | | `image.pullPolicy` | Container pull policy | `IfNotPresent` | | `image.repository` | Specify which docker registry to use | `""` | | `jiva.defaultStoragePath` | hostpath used by default Jiva StorageClass | `/var/openebs` | @@ -127,7 +127,7 @@ The following table lists the common configurable parameters of the OpenEBS char | `localprovisioner.basePath` | BasePath for hostPath volumes on Nodes | `/var/openebs/local` | | `localprovisioner.enabled` | Enable localProvisioner | `true` | | `localprovisioner.image` | Image for localProvisioner | `openebs/provisioner-localpv` | -| `localprovisioner.imageTag` | Image Tag for localProvisioner | `3.0.0` | +| `localprovisioner.imageTag` | Image Tag for localProvisioner | `3.1.0` | | `ndm.enabled` | Enable Node Disk Manager | `true` | | `ndm.filters.enableOsDiskExcludeFilter` | Enable filters of OS disk exclude | `true` | | `ndm.filters.enablePathFilter` | Enable filters of paths | `true` | @@ -137,10 +137,10 @@ The following table lists the common configurable parameters of the OpenEBS char | `ndm.filters.includePaths` | Include devices with specified path patterns | `""` | | `ndm.filters.osDiskExcludePaths` | Paths/Mounts to be excluded by OS Disk Filter | `/,/etc/hosts,/boot` | | `ndm.image` | Image for Node Disk Manager | `openebs/node-disk-manager` | -| `ndm.imageTag` | Image Tag for Node Disk Manager | `1.7.0` | +| `ndm.imageTag` | Image Tag for Node Disk Manager | `1.8.0` | | `ndmOperator.enabled` | Enable NDM Operator | `true` | | `ndmOperator.image` | Image for NDM Operator | `openebs/node-disk-operator` | -| `ndmOperator.imageTag` | Image Tag for NDM Operator | `1.7.0` | +| `ndmOperator.imageTag` | Image Tag for NDM Operator | `1.8.0` | | `ndm.probes.enableSeachest` | Enable Seachest probe for NDM | `false` | | `policies.monitoring.image` | Image for Prometheus Exporter | `openebs/m-exporter` | | `policies.monitoring.imageTag` | Image Tag for Prometheus Exporter | `2.12.2` | @@ -170,4 +170,3 @@ helm install --name `my-release` -f values.yaml --namespace openebs openebs/open ``` > **Tip**: You can use the default [values.yaml](values.yaml) - diff --git a/charts/openebs/templates/NOTES.txt b/charts/openebs/templates/NOTES.txt index 7b0f6a7d..64a9645d 100644 --- a/charts/openebs/templates/NOTES.txt +++ b/charts/openebs/templates/NOTES.txt @@ -28,6 +28,26 @@ helm upgrade {{ .Release.Name }} openebs/openebs \ --reuse-values For more information, -- view the online documentation at https://openebs.io/ or +- view the online documentation at https://openebs.io/docs or - connect with an active community on Kubernetes slack #openebs channel. +{{- /* +The section below can be removed once enableDeviceClass and enableHostpathClass +options are removed. +*/}} +{{ if or (eq .Values.localprovisioner.enableHostpathClass false) (eq .Values.localprovisioner.enableDeviceClass false) }} + +DEPRECATION NOTICE: +------------------- +The options 'enableHostpathClass' and 'enableDeviceClass' are deprecated and +will be removed in future releases. + +Please use the options hostpathClass.enabled and deviceClass.enabled instead. + +Example: + +helm install {{ .Release.Name }} openebs/openebs \ + --namespace {{ .Release.Namespace }} \ + --set localprovisioner.deviceClass.enabled="false" + +{{ end }} diff --git a/charts/openebs/templates/localprovisioner/deployment-local-provisioner.yaml b/charts/openebs/templates/localprovisioner/deployment-local-provisioner.yaml index abe843eb..92984b2c 100644 --- a/charts/openebs/templates/localprovisioner/deployment-local-provisioner.yaml +++ b/charts/openebs/templates/localprovisioner/deployment-local-provisioner.yaml @@ -58,10 +58,10 @@ spec: # This is supported for openebs provisioner version 0.5.2 onwards #- name: OPENEBS_IO_KUBE_CONFIG # value: "/home/ubuntu/.kube/config" - # 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. E.g. 12 * 5 seconds = 60 seconds timeout + # 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. E.g. 12 * 5 seconds = 60 seconds timeout - name: BDC_BD_BIND_RETRIES value: "{{ .Values.localprovisioner.waitForBDBindTimeoutRetryCount }}" # OPENEBS_NAMESPACE is the namespace that this provisioner will diff --git a/charts/openebs/templates/localprovisioner/device-class.yaml b/charts/openebs/templates/localprovisioner/device-class.yaml index c3c129cb..f9ad46f6 100644 --- a/charts/openebs/templates/localprovisioner/device-class.yaml +++ b/charts/openebs/templates/localprovisioner/device-class.yaml @@ -1,19 +1,38 @@ {{- if .Values.localprovisioner.enabled }} {{- $localpvprovisionerValues := index .Values "localpv-provisioner" }} {{- if not $localpvprovisionerValues.enabled }} -{{- if .Values.localprovisioner.enableDeviceClass }} +# The second operand in the AND operation can be removed +# when enableDeviceClass is deprecated. +{{- if and .Values.localprovisioner.deviceClass.enabled .Values.localprovisioner.enableDeviceClass }} apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: - name: openebs-device + name: {{ .Values.localprovisioner.deviceClass.name }} annotations: openebs.io/cas-type: local cas.openebs.io/config: | - name: StorageType value: "device" +{{- if .Values.localprovisioner.deviceClass.fsType }} + - name: FSType + value: {{ .Values.localprovisioner.deviceClass.fsType | quote }} +{{- end }} +{{- if .Values.localprovisioner.deviceClass.blockDeviceSelectors }} + - name: BlockDeviceSelectors + data: +{{ toYaml .Values.localprovisioner.deviceClass.blockDeviceSelectors | indent 10 }} +{{- end }} +{{- if .Values.localprovisioner.deviceClass.nodeAffinityLabels }} + - name: NodeAffinityLabels + list: +{{ toYaml .Values.localprovisioner.deviceClass.nodeAffinityLabels | indent 10 }} +{{- end }} +{{- if .Values.localprovisioner.deviceClass.isDefaultClass }} + storageclass.kubernetes.io/is-default-class: "true" +{{- end }} provisioner: openebs.io/local volumeBindingMode: WaitForFirstConsumer -reclaimPolicy: Delete +reclaimPolicy: {{ .Values.localprovisioner.deviceClass.reclaimPolicy }} {{- end }} {{- end }} {{- end }} diff --git a/charts/openebs/templates/localprovisioner/hostpath-class.yaml b/charts/openebs/templates/localprovisioner/hostpath-class.yaml index 86b53500..899c87ee 100644 --- a/charts/openebs/templates/localprovisioner/hostpath-class.yaml +++ b/charts/openebs/templates/localprovisioner/hostpath-class.yaml @@ -1,23 +1,33 @@ {{- if .Values.localprovisioner.enabled }} {{- $localpvprovisionerValues := index .Values "localpv-provisioner" }} {{- if not $localpvprovisionerValues.enabled }} -{{- if .Values.localprovisioner.enableHostpathClass }} +# The second operand in the AND operation can be removed +# when enableHostpathClass is deprecated. +{{- if and .Values.localprovisioner.hostpathClass.enabled .Values.localprovisioner.enableHostpathClass }} apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: - name: openebs-hostpath + name: {{ .Values.localprovisioner.hostpathClass.name }} annotations: openebs.io/cas-type: local cas.openebs.io/config: | - name: StorageType value: "hostpath" -{{- if .Values.localprovisioner.basePath }} +{{- if or .Values.localprovisioner.basePath .Values.localprovisioner.hostpathClass.basePath }} - name: BasePath - value: "{{ .Values.localprovisioner.basePath }}" + value: {{ .Values.localprovisioner.hostpathClass.basePath | default .Values.localprovisioner.basePath | quote }} +{{- end }} +{{- if .Values.localprovisioner.hostpathClass.nodeAffinityLabels }} + - name: NodeAffinityLabels + list: +{{ toYaml .Values.localprovisioner.hostpathClass.nodeAffinityLabels | indent 10 }} +{{- end }} +{{- if .Values.localprovisioner.hostpathClass.isDefaultClass }} + storageclass.kubernetes.io/is-default-class: "true" {{- end }} provisioner: openebs.io/local volumeBindingMode: WaitForFirstConsumer -reclaimPolicy: Delete +reclaimPolicy: {{ .Values.localprovisioner.hostpathClass.reclaimPolicy }} {{- end }} {{- end }} {{- end }} diff --git a/charts/openebs/templates/ndm/daemonset-ndm.yaml b/charts/openebs/templates/ndm/daemonset-ndm.yaml index e89ce6ad..b5121a8f 100644 --- a/charts/openebs/templates/ndm/daemonset-ndm.yaml +++ b/charts/openebs/templates/ndm/daemonset-ndm.yaml @@ -63,6 +63,9 @@ spec: {{- if .Values.featureGates.ChangeDetection.enabled }} - --feature-gates={{ .Values.featureGates.ChangeDetection.featureGateFlag }} {{- end}} +{{- if .Values.featureGates.PartitionTableUUID.enabled }} + - --feature-gates={{ .Values.featureGates.PartitionTableUUID.featureGateFlag }} +{{- end}} {{- end}} imagePullPolicy: {{ .Values.image.pullPolicy }} {{- if .Values.ndm.resources }} diff --git a/charts/openebs/values.yaml b/charts/openebs/values.yaml index dc1f5d28..450c0f57 100644 --- a/charts/openebs/values.yaml +++ b/charts/openebs/values.yaml @@ -18,7 +18,7 @@ imagePullSecrets: [] release: # "openebs.io/version" label for control plane components - version: "3.0.0" + version: "3.1.0" # Legacy components will be installed if it is enabled. # Legacy components are - admission-server, maya api-server, snapshot-operator @@ -95,11 +95,16 @@ provisioner: localprovisioner: enabled: true image: "openebs/provisioner-localpv" - imageTag: "3.0.0" + imageTag: "3.1.0" replicas: 1 enableLeaderElection: true + # These fields are deprecated. Please use the fields (see below) + # - deviceClass.enabled + # - hostpathClass.enabled enableDeviceClass: true enableHostpathClass: true + # This sets default directory used by the provisioner to provision + # hostpath volumes. basePath: "/var/openebs/local" # This sets the number of times the provisioner should try # with a polling interval of 5 seconds, to get the Blockdevice @@ -122,6 +127,74 @@ localprovisioner: # cpu: 500m # memory: 1Gi + deviceClass: + # Name of default device StorageClass. + name: openebs-device + # If true, enables creation of the openebs-device StorageClass + enabled: true + # Available reclaim policies: Delete/Retain, defaults: Delete. + reclaimPolicy: Delete + # If true, sets the openebs-device StorageClass as the default StorageClass + isDefaultClass: false + # Custom node affinity label(s) for example "openebs.io/node-affinity-value" + # that will be used instead of hostnames + # This helps in cases where the hostname changes when the node is removed and + # added back with the disks still intact. + # Example: + # nodeAffinityLabels: + # - "openebs.io/node-affinity-key-1" + # - "openebs.io/node-affinity-key-2" + nodeAffinityLabels: [] + # Sets the filesystem to be written to the blockdevice before + # mounting (filesystem volumes) + # This is only usable if the selected BlockDevice does not already + # have a filesystem + # Valid values: "ext4", "xfs" + fsType: "ext4" + # Label block devices in the cluster that you would like the openEBS localPV + # Provisioner to pick up those specific block devices available on the node. + # Set the label key and value as shown in the example below. + # + # To read more: https://github.com/openebs/dynamic-localpv-provisioner/blob/develop/docs/tutorials/device/blockdevicetag.md + # + # Example: + # blockDeviceSelectors: + # ndm.io/driveType: "SSD" + # ndm.io/fsType: "none" + blockDeviceSelectors: {} + + hostpathClass: + # Name of the default hostpath StorageClass + name: openebs-hostpath + # If true, enables creation of the openebs-hostpath StorageClass + enabled: true + # Available reclaim policies: Delete/Retain, defaults: Delete. + reclaimPolicy: Delete + # If true, sets the openebs-hostpath StorageClass as the default StorageClass + isDefaultClass: false + # Path on the host where local volumes of this storage class are mounted under. + # NOTE: If not specified, this defaults to the value of localprovisioner.basePath. + basePath: "" + # Custom node affinity label(s) for example "openebs.io/node-affinity-value" + # that will be used instead of hostnames + # This helps in cases where the hostname changes when the node is removed and + # added back with the disks still intact. + # Example: + # nodeAffinityLabels: + # - "openebs.io/node-affinity-key-1" + # - "openebs.io/node-affinity-key-2" + nodeAffinityLabels: [] + # Prerequisite: XFS Quota requires an XFS filesystem mounted with + # the 'pquota' or 'prjquota' mount option. + xfsQuota: + # If true, enables XFS project quota + enabled: false + # Detailed configuration options for XFS project quota. + # If XFS Quota is enabled with the default values, the usage limit + # is set at the storage capacity specified in the PVC. + softLimitGrace: "0%" + hardLimitGrace: "0%" + snapshotOperator: enabled: true controller: @@ -164,7 +237,7 @@ snapshotOperator: ndm: enabled: true image: "openebs/node-disk-manager" - imageTag: "1.7.0" + imageTag: "1.8.0" sparse: path: "/var/openebs/sparse" size: "10737418240" @@ -200,7 +273,7 @@ ndm: ndmOperator: enabled: true image: "openebs/node-disk-operator" - imageTag: "1.7.0" + imageTag: "1.8.0" replicas: 1 upgradeStrategy: Recreate nodeSelector: {} @@ -228,7 +301,7 @@ ndmExporter: repository: openebs/node-disk-exporter pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: 1.7.0 + tag: 1.8.0 nodeExporter: name: ndm-node-exporter podLabels: @@ -273,7 +346,7 @@ webhook: # then put this configuration under `localpv-provisioner` and `openebs-ndm` key. helper: image: "openebs/linux-utils" - imageTag: "3.0.0" + imageTag: "3.1.0" # These are ndm related configuration. If you want to enable openebs as a dependency # chart then set `ndm.enabled: false`, `ndmOperator.enabled: false` and enable it as @@ -294,6 +367,9 @@ featureGates: ChangeDetection: enabled: false featureGateFlag: "ChangeDetection" + PartitionTableUUID: + enabled: false + featureGateFlag: "PartitionTableUUID" crd: enableInstall: true @@ -358,17 +434,17 @@ jiva: # image: # registry: quay.io/ # repository: openebs/jiva -# tag: 3.0.0 +# tag: 3.1.0 # replica: # image: # registry: quay.io/ # repository: openebs/jiva -# tag: 3.0.0 +# tag: 3.1.0 # image: # registry: quay.io/ # repository: openebs/jiva-operator # pullPolicy: IfNotPresent -# tag: 3.0.0 +# tag: 3.1.0 # # jivaCSIPlugin: # remount: "true" @@ -376,7 +452,7 @@ jiva: # registry: quay.io/ # repository: openebs/jiva-csi # pullPolicy: IfNotPresent -# tag: 3.0.0 +# tag: 3.1.0 cstor: @@ -427,51 +503,51 @@ cstor: # image: # registry: quay.io/ # repository: openebs/cstor-pool-manager -# tag: 3.0.0 +# tag: 3.1.0 # cstorPool: # image: # registry: quay.io/ # repository: openebs/cstor-pool -# tag: 3.0.0 +# tag: 3.1.0 # cstorPoolExporter: # image: # registry: quay.io/ # repository: openebs/m-exporter -# tag: 3.0.0 +# tag: 3.1.0 # image: # registry: quay.io/ # repository: openebs/cspc-operator # pullPolicy: IfNotPresent -# tag: 3.0.0 +# tag: 3.1.0 # # cvcOperator: # target: # image: # registry: quay.io/ # repository: openebs/cstor-istgt -# tag: 3.0.0 +# tag: 3.1.0 # volumeMgmt: # image: # registry: quay.io/ # repository: openebs/cstor-volume-manager -# tag: 3.0.0 +# tag: 3.1.0 # volumeExporter: # image: # registry: quay.io/ # repository: openebs/m-exporter -# tag: 3.0.0 +# tag: 3.1.0 # image: # registry: quay.io/ # repository: openebs/cvc-operator # pullPolicy: IfNotPresent -# tag: 3.0.0 +# tag: 3.1.0 # # cstorCSIPlugin: # image: # registry: quay.io/ # repository: openebs/cstor-csi-driver # pullPolicy: IfNotPresent -# tag: 3.0.0 +# tag: 3.1.0 # # admissionServer: # componentName: cstor-admission-webhook @@ -479,7 +555,7 @@ cstor: # registry: quay.io/ # repository: openebs/cstor-webhook # pullPolicy: IfNotPresent -# tag: 3.0.0 +# tag: 3.1.0 # ndm configuration goes here # https://openebs.github.io/node-disk-manager @@ -497,7 +573,7 @@ openebs-ndm: # registry: quay.io/ # repository: openebs/node-disk-manager # pullPolicy: IfNotPresent -# tag: 1.7.0 +# tag: 1.8.0 # sparse: # path: "/var/openebs/sparse" # size: "10737418240" @@ -520,14 +596,14 @@ openebs-ndm: # registry: quay.io/ # repository: openebs/node-disk-operator # pullPolicy: IfNotPresent -# tag: 1.7.0 +# tag: 1.8.0 # # helperPod: # image: # registry: quay.io/ # repository: openebs/linux-utils # pullPolicy: IfNotPresent -# tag: 3.0.0 +# tag: 3.1.0 # # featureGates: # enabled: true @@ -580,7 +656,7 @@ localpv-provisioner: # image: # registry: quay.io/ # repository: openebs/provisioner-localpv -# tag: 3.0.0 +# tag: 3.1.0 # pullPolicy: IfNotPresent # healthCheck: # initialDelaySeconds: 30 @@ -594,7 +670,7 @@ localpv-provisioner: # registry: quay.io/ # repository: openebs/linux-utils # pullPolicy: IfNotPresent -# tag: 3.0.0 +# tag: 3.1.0 # zfs local pv configuration goes here # ref - https://openebs.github.io/zfs-localpv @@ -615,7 +691,7 @@ zfs-localpv: # registry: quay.io/ # repository: openebs/zfs-driver # pullPolicy: IfNotPresent -# tag: 1.9.3 +# tag: 2.0.0 # lvm local pv configuration goes here # ref - https://openebs.github.io/lvm-localpv @@ -636,7 +712,7 @@ lvm-localpv: # registry: quay.io/ # repository: openebs/lvm-driver # pullPolicy: IfNotPresent -# tag: 0.8.2 +# tag: 0.8.3 # openebs nfs provisioner configuration goes here # ref - https://openebs.github.io/dynamic-nfs-provisioner @@ -656,13 +732,13 @@ nfs-provisioner: # image: # registry: # repository: openebs/provisioner-nfs -# tag: 0.8.0 +# tag: 0.9.0 # pullPolicy: IfNotPresent # enableLeaderElection: "true" # nfsServerAlpineImage: # registry: # repository: openebs/nfs-server-alpine -# tag: 0.8.0 +# tag: 0.9.0 cleanup: image: