Skip to content

Commit

Permalink
Update DNSPolicy model according to load balance change
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Smolar <[email protected]>
  • Loading branch information
jsmolar committed Sep 20, 2024
1 parent 06cc958 commit df751b1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions testsuite/kuadrant/policy/dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,10 @@ def create_instance(
"spec": {
"targetRef": parent.reference,
"providerRefs": [{"name": provider_secret_name}],
"routingStrategy": "simple",
},
}

if load_balancing:
model["spec"]["routingStrategy"] = "loadbalanced"
model["spec"]["loadBalancing"] = asdict(load_balancing)

return cls(model, context=cluster.context)
Expand Down

0 comments on commit df751b1

Please sign in to comment.