This commit is contained in:
Thomas E Lackey 2024-03-04 23:43:21 -06:00
parent 583774e32a
commit 82785b6823

View File

@ -351,7 +351,6 @@ class K8sDeployer(Deployer):
) )
hostname = ingress.spec.rules[0].host hostname = ingress.spec.rules[0].host
tls_hosts = ingress.spec.rules[0].host
ip = ingress.status.load_balancer.ingress[0].ip ip = ingress.status.load_balancer.ingress[0].ip
tls = "notBefore: %s; notAfter: %s; names: %s" % ( tls = "notBefore: %s; notAfter: %s; names: %s" % (
cert["status"]["notBefore"], cert["status"]["notAfter"], ", ".join(ingress.spec.tls[0].hosts)) cert["status"]["notBefore"], cert["status"]["notAfter"], ", ".join(ingress.spec.tls[0].hosts))