Move comment
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 46s
Deploy Test / Run deploy test suite (pull_request) Successful in 7m6s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m27s
Smoke Test / Run basic test suite (pull_request) Successful in 3m39s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m23s
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 46s
Deploy Test / Run deploy test suite (pull_request) Successful in 7m6s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m27s
Smoke Test / Run basic test suite (pull_request) Successful in 3m39s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m23s
This commit is contained in:
parent
0910301fa3
commit
aa44a202b8
@ -222,14 +222,14 @@ class K8sDeployer(Deployer):
|
|||||||
self._create_volume_data()
|
self._create_volume_data()
|
||||||
self._create_deployment()
|
self._create_deployment()
|
||||||
|
|
||||||
use_tls = not self.is_kind()
|
|
||||||
http_proxy_info = self.cluster_info.spec.get_http_proxy()
|
http_proxy_info = self.cluster_info.spec.get_http_proxy()
|
||||||
certificate = self._find_certificate_for_host_name(http_proxy_info[0]["host-name"]) if http_proxy_info and use_tls else None
|
# Note: at present we don't support tls for kind (and enabling tls causes errors)
|
||||||
|
use_tls = http_proxy_info and not self.is_kind()
|
||||||
|
certificate = self._find_certificate_for_host_name(http_proxy_info[0]["host-name"]) if use_tls else None
|
||||||
if opts.o.debug:
|
if opts.o.debug:
|
||||||
if certificate:
|
if certificate:
|
||||||
print(f"Using existing certificate: {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)
|
ingress: client.V1Ingress = self.cluster_info.get_ingress(use_tls=use_tls, certificate=certificate)
|
||||||
if ingress:
|
if ingress:
|
||||||
if opts.o.debug:
|
if opts.o.debug:
|
||||||
|
Loading…
Reference in New Issue
Block a user