hive-tls owns the per-host list of locally fronted service domains
This commit is contained in:
parent
d7e48091ca
commit
22b9c570ba
9 changed files with 605 additions and 597 deletions
|
|
@ -420,7 +420,7 @@ let
|
|||
&&
|
||||
queueNoStore.services.nginx.virtualHosts.${natsName}.sslCertificate
|
||||
== "/var/lib/swarm-nats-gateway-tls/cert.pem"
|
||||
&& h.swarm.localServiceDomains == [ ]
|
||||
&& h.deploy.hive-controller.tls.localServiceDomains == [ ]
|
||||
&& !(lib.elem natsName h.swarm.serviceDomains)
|
||||
&& !(lib.elem "hive-gateway-self-signed-cert.service" (s.swarm-services-cert.requiredBy or [ ]))
|
||||
&& !(lib.hasInfix "serves swarm names only with it" s.hive-gateway-self-signed-cert.script)
|
||||
|
|
|
|||
Loading…
Reference in a new issue