Add support for configurable filterconfigs.state. (#22503)

Signed-off-by: fukuta-tatsuya-intec <fukuta_tatsuya@intec.co.jp>
This commit is contained in:
Tatsuya Fukuta
2020-05-27 21:56:02 -07:00
committed by GitHub
parent ba91f33aca
commit be0c48c640
4 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
apiVersion: v1
version: 1.10.1
version: 1.10.2
name: openebs
appVersion: 1.10.0
description: Containerized Storage for Containers
+3
View File
@@ -71,7 +71,10 @@ The following table lists the configurable parameters of the OpenEBS chart and t
| `ndm.sparse.path` | Directory where Sparse files are created | `/var/openebs/sparse` |
| `ndm.sparse.size` | Size of the sparse file in bytes | `10737418240` |
| `ndm.sparse.count` | Number of sparse files to be created | `0` |
| `ndm.filters.enableOsDiskExcludeFilter` | Enable filters of OS disk exclude | `true` |
| `ndm.filters.enableVendorFilter` | Enable filters of venders | `true` |
| `ndm.filters.excludeVendors` | Exclude devices with specified vendor | `CLOUDBYT,OpenEBS` |
| `ndm.filters.enablePathFilter` | Enable filters of paths | `true` |
| `ndm.filters.excludePaths` | Exclude devices with specified path patterns | `loop,fd0,sr0,/dev/ram,/dev/dm-,/dev/md` |
| `ndm.filters.includePaths` | Include devices with specified path patterns | `""` |
| `ndm.filters.excludePaths` | Exclude devices with specified path patterns | `loop,fd0,sr0,/dev/ram,/dev/dm-,/dev/md` |
@@ -30,16 +30,16 @@ data:
filterconfigs:
- key: os-disk-exclude-filter
name: os disk exclude filter
state: true
state: {{ .Values.ndm.filters.enableOsDiskExcludeFilter }}
exclude: "/,/etc/hosts,/boot"
- key: vendor-filter
name: vendor filter
state: true
state: {{ .Values.ndm.filters.enableVendorFilter }}
include: ""
exclude: "{{ .Values.ndm.filters.excludeVendors }}"
- key: path-filter
name: path filter
state: true
state: {{ .Values.ndm.filters.enablePathFilter }}
include: "{{ .Values.ndm.filters.includePaths }}"
exclude: "{{ .Values.ndm.filters.excludePaths }}"
---
+3
View File
@@ -95,7 +95,10 @@ ndm:
size: "10737418240"
count: "0"
filters:
enableOsDiskExcludeFilter: true
enableVendorFilter: true
excludeVendors: "CLOUDBYT,OpenEBS"
enablePathFilter: true
includePaths: ""
excludePaths: "loop,fd0,sr0,/dev/ram,/dev/dm-,/dev/md"
probes: