juju: Fix kubernetes-worker certificate SANs on AWS

This commit is contained in:
George Kraft 2018-07-05 14:52:56 -05:00
parent c7d4931dad
commit 2750c172ef

View File

@ -361,7 +361,7 @@ def send_data(tls, kube_control):
sans = [
hookenv.unit_public_ip(),
ingress_ip,
get_node_name()
gethostname()
]
# Create a path safe name by removing path characters from the unit name.