Closed fcaroline2020 closed 1 year ago
When using kp secret create --registry https://index.docker.io/v1/ the secret is erroneously created.
kp secret create --registry https://index.docker.io/v1/
{"auths":{"https://index.docker.io/v1/":{"username":"....
{"auths":{"https:":{"username":"....
In the meantime use flags --dockerhub and --gcr instead as these are correctly generating secrets
Remove logic that tries to parse the registry host if the user passes in the whole path to the repo
Summary
When using
kp secret create --registry https://index.docker.io/v1/
the secret is erroneously created.Expected Secret Data
Actual Secret Data
Workaround
In the meantime use flags --dockerhub and --gcr instead as these are correctly generating secrets
Solution
Remove logic that tries to parse the registry host if the user passes in the whole path to the repo