Chart: Add controller.metrics.prometheusRule.annotations. (#11849)
This commit is contained in:
parent
5d457c7daa
commit
3cde7770dd
4 changed files with 18 additions and 0 deletions
|
|
@ -15,3 +15,15 @@ tests:
|
|||
- equal:
|
||||
path: metadata.name
|
||||
value: RELEASE-NAME-ingress-nginx-controller
|
||||
|
||||
- it: should create a PrometheusRule with annotations if `controller.metrics.prometheusRule.annotations` is set
|
||||
set:
|
||||
controller.metrics.enabled: true
|
||||
controller.metrics.prometheusRule.enabled: true
|
||||
controller.metrics.prometheusRule.annotations:
|
||||
my-little-annotation: test-value
|
||||
asserts:
|
||||
- equal:
|
||||
path: metadata.annotations
|
||||
value:
|
||||
my-little-annotation: test-value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue