This commit is contained in:
Thomas E Lackey 2024-03-04 23:41:31 -06:00
parent 7f0b82b9a9
commit f91329eef0

View File

@ -353,7 +353,8 @@ class K8sDeployer(Deployer):
hostname = ingress.spec.rules[0].host
tls_hosts = ingress.spec.rules[0].host
ip = ingress.status.load_balancer.ingress[0].ip
tls = "notBefore: %s, notAfter: %s, names: %s" % (cert["status"]["notBefore"], cert["status"]["notAfter"], ", ".join(ingress.spec.tls[0].hosts))
tls = "notBefore: %s, notAfter: %s, names: %s" % (
cert["status"]["notBefore"], cert["status"]["notAfter"], ", ".join(ingress.spec.tls[0].hosts))
except: # noqa: E722
pass