summaryrefslogtreecommitdiffstats
path: root/controller-server/src/main
diff options
context:
space:
mode:
authorjonmv <venstad@gmail.com>2023-09-28 08:54:09 +0200
committerjonmv <venstad@gmail.com>2023-09-28 08:54:09 +0200
commit6baac2c54d793c750d1fba7ba617f93b7987d12a (patch)
tree244539a125ec30f9032192ebd24b7ca150579089 /controller-server/src/main
parentd4a9ec4897a395c315ce08e94495d9a5095f798b (diff)
Differentiate between generated endpoints and not
Diffstat (limited to 'controller-server/src/main')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/routing/RoutingPolicies.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/routing/RoutingPolicies.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/routing/RoutingPolicies.java
index f5fa5c65149..21b8ce8ebc2 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/routing/RoutingPolicies.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/routing/RoutingPolicies.java
@@ -425,7 +425,8 @@ public class RoutingPolicies {
controller.serviceRegistry().vpcEndpointService()
.setPrivateDns(DomainName.of(endpoint.dnsName()),
new ClusterId(deploymentId, endpoint.cluster()),
- loadBalancer.cloudAccount())
+ loadBalancer.cloudAccount(),
+ endpoint.generated().isPresent())
.ifPresent(challenge -> {
try (Mutex lock = db.lockNameServiceQueue()) {
controller.nameServiceForwarder().createTxt(challenge.name(), List.of(challenge.data()), Priority.high, ownerOf(deploymentId));