Skip to content

Commit

Permalink
fix(charts): add include-path in configmap for charts (openebs#2601)
Browse files Browse the repository at this point in the history
added include-path in charts for path filter in config map. This will
make the paths configurable from the charts.

Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
  • Loading branch information
akhilerm authored and kmova committed May 31, 2019
1 parent 324778b commit 4f288f4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s/charts/openebs/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
version: 0.9.0
version: 0.9.1
name: openebs
appVersion: 0.9.0
description: Containerized Storage for Containers
Expand Down
1 change: 1 addition & 0 deletions k8s/charts/openebs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,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 | `1` |
| `ndm.filters.excludeVendors` | Exclude devices with specified vendor | `CLOUDBYT,OpenEBS` |
| `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` |
| `jiva.image` | Image for Jiva | `quay.io/openebs/jiva` |
| `jiva.imageTag` | Image Tag for Jiva | `0.9.0` |
Expand Down
2 changes: 1 addition & 1 deletion k8s/charts/openebs/templates/cm-node-disk-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ data:
- key: path-filter
name: path filter
state: true
include: ""
include: "{{ .Values.ndm.filters.includePaths }}"
exclude: "{{ .Values.ndm.filters.excludePaths }}"
---
1 change: 1 addition & 0 deletions k8s/charts/openebs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ ndm:
count: "1"
filters:
excludeVendors: "CLOUDBYT,OpenEBS"
includePaths: ""
excludePaths: "loop,fd0,sr0,/dev/ram,/dev/dm-,/dev/md"
nodeSelector: {}
healthCheck:
Expand Down

0 comments on commit 4f288f4

Please sign in to comment.