Chart: Add controller.service.external.labels & controller.service.internal.labels. (#12704)
This commit is contained in:
parent
59a0da769d
commit
fe91e8e422
8 changed files with 40 additions and 0 deletions
|
|
@ -62,3 +62,13 @@ tests:
|
|||
- equal:
|
||||
path: spec.trafficDistribution
|
||||
value: PreferClose
|
||||
|
||||
- it: should create a Service with labels if `controller.service.external.labels` is set
|
||||
set:
|
||||
controller.service.external.enabled: true
|
||||
controller.service.external.labels:
|
||||
external-dns.alpha.kubernetes.io/hostname: external.example.com
|
||||
asserts:
|
||||
- equal:
|
||||
path: metadata.labels["external-dns.alpha.kubernetes.io/hostname"]
|
||||
value: external.example.com
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue