make sure the default behavior is the same as before this feature

This commit is contained in:
Karitham 2024-04-15 18:55:20 +02:00 committed by Karitham
parent 776afbabfa
commit c22319a3e5

View File

@ -90,3 +90,17 @@ tests:
path: spec.loadBalancerIP
- notExists:
path: spec.loadBalancerSourceRanges
- it: does not render loadBalancerClass by default even when type is LoadBalancer
template: templates/gitea/http-svc.yaml
set:
service:
http:
type: LoadBalancer
loadBalancerIP: "1.2.3.4"
asserts:
- notExists:
path: spec.loadBalancerClass
- equal:
path: spec.loadBalancerIP
value: "1.2.3.4"