Skip to content

Commit

Permalink
Add support for configurable filterconfigs.state.
Browse files Browse the repository at this point in the history
This PR add support for configurable filterconfigs.state.

Signed-off-by: fukuta-tatsuya-intec <fukuta_tatsuya@intec.co.jp>
  • Loading branch information
fukuta-tatsuya-intec authored and kmova committed May 22, 2020
1 parent 47d1710 commit f6e164a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions k8s/charts/openebs/templates/cm-node-disk-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
---
Expand Down
3 changes: 3 additions & 0 deletions k8s/charts/openebs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,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:
Expand Down

0 comments on commit f6e164a

Please sign in to comment.