Closed mluds closed 4 years ago
I think quoting the values before running them through b64enc is a mistake. We don't do that anywhere else. I'll submit a PR to take out the | quote
as an alterantive
I think #616 is a better fix..let's keep the bogus quotes out of the secret
@mluds - I think #616 should fix this. I merged it this morning. When you get a chance, could you give it a try and let us know if I missed something? Thanks
Sorry for the late response, but I just tried this and looks like it's working. Thanks!
The docker registry credentials are quoted here: https://github.com/apache/openwhisk-deploy-kube/blob/bbf7846517ed690bb0bf2fdda444222a82037aa8/helm/openwhisk/templates/ow-docker-registry-secret.yaml#L26-L27
When used in the dockerPullRuntimes Ansible, literal quotes are passed in the username and password, breaking authentication.
This fixes that by stripping these before use.