debug
Some checks failed
Lint Checks / Run linter (pull_request) Successful in 1m6s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m24s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m32s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 9m47s
Smoke Test / Run basic test suite (pull_request) Has been cancelled

This commit is contained in:
Thomas E Lackey 2024-03-06 17:25:00 -06:00
parent 434e44d108
commit 5dd89bcafd

View File

@ -224,6 +224,9 @@ class K8sDeployer(Deployer):
use_tls = not self.is_kind()
certificate = self._find_certificate_for_host_name(self.spec.get_http_proxy()[0]["host-name"]) if use_tls else None
if opts.o.debug:
if certificate:
print(f"Using existing certificate: {certificate}")
# Note: at present we don't support tls for kind (and enabling tls causes errors)
ingress: client.V1Ingress = self.cluster_info.get_ingress(use_tls=use_tls, certificate=certificate)