Commit 5acf24db authored by Mike Wilson's avatar Mike Wilson

Fixing spaces issue found with tests. Had some missing parameters for some functions.

parent 068e1642
...@@ -93,12 +93,13 @@ def request_server_certificates(tls, website): ...@@ -93,12 +93,13 @@ def request_server_certificates(tls, website):
tls.request_server_cert(common_name, sans, certificate_name) tls.request_server_cert(common_name, sans, certificate_name)
@when('config.changed.extra_sans', 'certificates.available') @when('config.changed.extra_sans', 'certificates.available',
def update_certificate(tls): 'website.available')
def update_certificate(tls, website):
# Using the config.changed.extra_sans flag to catch changes. # Using the config.changed.extra_sans flag to catch changes.
# IP changes will take ~5 minutes or so to propagate, but # IP changes will take ~5 minutes or so to propagate, but
# it will update. # it will update.
request_server_certificates(tls) request_server_certificates(tls, website)
@when('certificates.server.cert.available', @when('certificates.server.cert.available',
......
...@@ -609,12 +609,13 @@ def send_data(tls, kube_api_endpoint): ...@@ -609,12 +609,13 @@ def send_data(tls, kube_api_endpoint):
tls.request_server_cert(common_name, sans, certificate_name) tls.request_server_cert(common_name, sans, certificate_name)
@when('config.changed.extra_sans', 'certificates.available') @when('config.changed.extra_sans', 'certificates.available',
def update_certificate(tls): 'kube-api-endpoint.available')
def update_certificate(tls, kube_api_endpoint):
# Using the config.changed.extra_sans flag to catch changes. # Using the config.changed.extra_sans flag to catch changes.
# IP changes will take ~5 minutes or so to propagate, but # IP changes will take ~5 minutes or so to propagate, but
# it will update. # it will update.
send_data(tls) send_data(tls, kube_api_endpoint)
@when('certificates.server.cert.available', @when('certificates.server.cert.available',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment