diff --git a/charts/openebs/Chart.yaml b/charts/openebs/Chart.yaml index c933b8d..0e4d295 100644 --- a/charts/openebs/Chart.yaml +++ b/charts/openebs/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 -version: 3.10.0 +version: 3.11.0 name: openebs -appVersion: 3.10.0 +appVersion: 3.11.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/ diff --git a/charts/openebs/README.md b/charts/openebs/README.md index 1e4bf7e..6dedc9f 100644 --- a/charts/openebs/README.md +++ b/charts/openebs/README.md @@ -174,6 +174,8 @@ The following table lists the common configurable parameters of the OpenEBS char | `ndmOperator.image` | Image for NDM Operator | `openebs/node-disk-operator` | | `ndmOperator.imageTag` | Image Tag for NDM Operator | `2.1.0` | | `ndm.probes.enableSeachest` | Enable Seachest probe for NDM | `false` | +| `ndm.metaConfig.nodeLabelPattern` | Config for adding node labels as BD labels | `kubernetes.io*,beta.kubernetes.io*` | +| `ndm.metaConfig.deviceLabelTypes` | Config for adding device attributes as BD labels | `.spec.details.vendor,.spec.details.model,.spec.details.driveType,.spec.filesystem.fsType`| | `policies.monitoring.image` | Image for Prometheus Exporter | `openebs/m-exporter` | | `policies.monitoring.imageTag` | Image Tag for Prometheus Exporter | `2.12.2` | | `provisioner.enabled` | Enable Provisioner | `true` | diff --git a/charts/openebs/templates/ndm/cm-node-disk-manager.yaml b/charts/openebs/templates/ndm/cm-node-disk-manager.yaml index ab57b37..39bf3bd 100644 --- a/charts/openebs/templates/ndm/cm-node-disk-manager.yaml +++ b/charts/openebs/templates/ndm/cm-node-disk-manager.yaml @@ -45,6 +45,13 @@ data: state: {{ .Values.ndm.filters.enablePathFilter }} include: "{{ .Values.ndm.filters.includePaths }}" exclude: "{{ .Values.ndm.filters.excludePaths }}" + metaconfigs: + - key: node-labels + name: node labels + pattern: "{{ .Values.ndm.metaConfig.nodeLabelPattern }}" + - key: device-labels + name: device labels + type: "{{ .Values.ndm.metaConfig.deviceLabelTypes }}" {{- end }} {{- end }} {{- end }} diff --git a/charts/openebs/values.yaml b/charts/openebs/values.yaml index 8229dc4..ec21379 100644 --- a/charts/openebs/values.yaml +++ b/charts/openebs/values.yaml @@ -264,6 +264,9 @@ ndm: enableSeachest: false nodeSelector: {} tolerations: [] + metaConfig: + nodeLabelPattern: "" + deviceLabelTypes: "" healthCheck: initialDelaySeconds: 30 periodSeconds: 60