-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from VLZZZ/improve-helm-chart
- Loading branch information
Showing
8 changed files
with
67 additions
and
1 deletion.
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
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
21 changes: 21 additions & 0 deletions
21
charts/prom-aggregation-gateway/tests/podmonitor_test.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,21 @@ | ||
suite: PodMonitor tests | ||
|
||
templates: [podmonitor.yaml] | ||
|
||
tests: | ||
- it: empty podmonitor labels by default | ||
asserts: | ||
- isEmpty: | ||
path: metadata.labels | ||
- it: can render podmonitor labels | ||
set: | ||
podMonitor: | ||
additionalLabels: | ||
hello: world | ||
goodbye: moon | ||
asserts: | ||
- equal: | ||
path: metadata.labels | ||
value: | ||
hello: world | ||
goodbye: moon |
21 changes: 21 additions & 0 deletions
21
charts/prom-aggregation-gateway/tests/servicemonitor_test.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,21 @@ | ||
suite: ServiceMonitor tests | ||
|
||
templates: [servicemonitor.yaml] | ||
|
||
tests: | ||
- it: empty servicemonitor labels by default | ||
asserts: | ||
- isEmpty: | ||
path: metadata.labels | ||
- it: can render servicemonitor labels | ||
set: | ||
serviceMonitor: | ||
additionalLabels: | ||
hello: world | ||
goodbye: moon | ||
asserts: | ||
- equal: | ||
path: metadata.labels | ||
value: | ||
hello: world | ||
goodbye: moon |
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