update status
Some checks failed
Lint Checks / Run linter (pull_request) Successful in 22s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m18s
Webapp Test / Run webapp test suite (pull_request) Successful in 3m43s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 9m4s
Smoke Test / Run basic test suite (pull_request) Successful in 7m9s

This commit is contained in:
Thomas E Lackey 2024-03-06 17:22:38 -06:00
parent 3296dd0ae6
commit 434e44d108

View File

@ -386,9 +386,11 @@ class K8sDeployer(Deployer):
name=ingress.spec.tls[0].secret_name name=ingress.spec.tls[0].secret_name
) )
hostname = ingress.spec.tls[0].hosts[0] hostname = 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" % (cert["status"]["notBefore"], cert["status"]["notAfter"]) tls = "notBefore: %s; notAfter: %s; names: %s" % (
cert["status"]["notBefore"], cert["status"]["notAfter"], ingress.spec.tls[0].hosts
)
except: # noqa: E722 except: # noqa: E722
pass pass