You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
registry login should not encode service account name
system:serviceaccount:blah:blah is incorrectly encoded into base64 for
authorization, causing the successive login to fail. Instead, encode it
as system-serviceaccount-namespace-name which is ignored by the
registry.
Also add an insecure flag to skip-check that will bypass validating TLS
certs during the skip-check.
flag.StringVarP(&o.ServiceAccount, "service-account", "z", o.ServiceAccount, "Log in as the specified service account name in the specified namespace.")
115
117
flag.StringVar(&o.HostPort, "registry", o.HostPort, "An alternate domain name and port to use for the registry, defaults to the cluster's configured external hostname.")
116
118
flag.BoolVar(&o.SkipCheck, "skip-check", o.SkipCheck, "Skip checking the credentials against the registry.")
119
+
flag.BoolVar(&o.Insecure, "insecure", o.Insecure, "Bypass HTTPS certificate verification when checking the registry login.")
0 commit comments