diff --git a/cluster/juju/layers/kubernetes-worker/actions/registry b/cluster/juju/layers/kubernetes-worker/actions/registry index 1ea12111f8a..a99a0d5732e 100755 --- a/cluster/juju/layers/kubernetes-worker/actions/registry +++ b/cluster/juju/layers/kubernetes-worker/actions/registry @@ -46,7 +46,7 @@ for param in ('tlscert', 'tlskey', 'domain', 'htpasswd', 'htpasswd-plain'): context[param] = value # Create the dockercfg template variable -dockercfg = '{"%s:443": {"auth": "%s", "email": "root@localhost"}}' % \ +dockercfg = '{"%s": {"auth": "%s", "email": "root@localhost"}}' % \ (context['domain'], context['htpasswd-plain']) context['dockercfg'] = b64encode(dockercfg.encode()).decode('ASCII')