This commit is contained in:
Thomas E Lackey 2024-03-04 23:42:45 -06:00
parent f91329eef0
commit 583774e32a

View File

@ -353,7 +353,7 @@ class K8sDeployer(Deployer):
hostname = ingress.spec.rules[0].host hostname = ingress.spec.rules[0].host
tls_hosts = 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))
except: # noqa: E722 except: # noqa: E722
pass pass