mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Change config.changed to config.changed.extra_sans so we only try to update certificates when the SAN entries change
This commit is contained in:
parent
d0a88264d8
commit
16036c3fd4
@ -469,7 +469,7 @@ def send_data(tls):
|
||||
tls.request_server_cert(common_name, sans, certificate_name)
|
||||
|
||||
|
||||
@when('config.changed', 'certificates.available')
|
||||
@when('config.changed.extra_sans', 'certificates.available')
|
||||
def update_certificate(tls):
|
||||
# I using the config.changed flag instead of something more
|
||||
# specific to try and catch ip changes. Being a little
|
||||
|
Loading…
Reference in New Issue
Block a user