Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
add OS disk exclude paths as a customizable parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
  • Loading branch information
akhilerm committed Apr 8, 2021
1 parent 164472b commit 5e0ffa4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions charts/openebs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ The following table lists the configurable parameters of the OpenEBS chart and t
| `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.osDiskExcludePaths` | Paths/Mountpoints to be excluded by OS Disk Filter| `/,/etc/hosts,/boot` |
| `ndm.filters.enableVendorFilter` | Enable filters of vendors | `true` |
| `ndm.filters.excludeVendors` | Exclude devices with specified vendor | `CLOUDBYT,OpenEBS` |
| `ndm.filters.enablePathFilter` | Enable filters of paths | `true` |
Expand Down
2 changes: 1 addition & 1 deletion charts/openebs/templates/cm-node-disk-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ data:
- key: os-disk-exclude-filter
name: os disk exclude filter
state: {{ .Values.ndm.filters.enableOsDiskExcludeFilter }}
exclude: "/,/etc/hosts,/boot"
exclude: "{{ .Values.ndm.filters.osDiskExcludePaths }}"
- key: vendor-filter
name: vendor filter
state: {{ .Values.ndm.filters.enableVendorFilter }}
Expand Down
1 change: 1 addition & 0 deletions charts/openebs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ ndm:
count: "0"
filters:
enableOsDiskExcludeFilter: true
osDiskExcludePaths: "/,/etc/hosts,/boot"
enableVendorFilter: true
excludeVendors: "CLOUDBYT,OpenEBS"
enablePathFilter: true
Expand Down

0 comments on commit 5e0ffa4

Please sign in to comment.