-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[prometheus-smartctl-exporter] Add support for device-include / devic…
…e-exclude and image pull secrets (#4990) * Add support for device-include / device-exclude and image pull secrets Signed-off-by: Joe Mifsud <[email protected]> * Change version to minor release, add defaults to values.yaml Signed-off-by: Joe Mifsud <[email protected]> * Correct example values.yaml Signed-off-by: Joe Mifsud <[email protected]> * Add CI test cases Signed-off-by: zeritti <[email protected]> * Update Chart.yaml Signed-off-by: zeritti <[email protected]> * Drop CI test case with service account Signed-off-by: zeritti <[email protected]> --------- Signed-off-by: Joe Mifsud <[email protected]> Signed-off-by: zeritti <[email protected]> Co-authored-by: zeritti <[email protected]>
- Loading branch information
Showing
9 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# default values |
3 changes: 3 additions & 0 deletions
3
charts/prometheus-smartctl-exporter/ci/device-exclude-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# exclude devices | ||
config: | ||
device_exclude: "/dev/sr.*" |
3 changes: 3 additions & 0 deletions
3
charts/prometheus-smartctl-exporter/ci/device-include-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# include devices | ||
config: | ||
device_include: "/dev/sd.*" |
5 changes: 5 additions & 0 deletions
5
charts/prometheus-smartctl-exporter/ci/prometheusrules-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# enable prometheus rules | ||
prometheusRules: | ||
enabled: true | ||
extraLabels: | ||
release: prometheus-operator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# set resources | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 64Mi | ||
requests: | ||
cpu: 100m | ||
memory: 64Mi |
5 changes: 5 additions & 0 deletions
5
charts/prometheus-smartctl-exporter/ci/servicemonitor-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# enable service monitor | ||
serviceMonitor: | ||
enabled: true | ||
extraLabels: | ||
release: prometheus-operator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters