mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Don't append :443 to registry domain in the kubernetes-worker layer registry action. Fixes #45547
This commit is contained in:
parent
97889d4ff9
commit
b61fd20cb2
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user