Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

~/.docker/config.json vs env variables #2211

Open
collivier opened this issue Jan 16, 2025 · 0 comments
Open

~/.docker/config.json vs env variables #2211

collivier opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@collivier
Copy link
Collaborator

Documentation mentions the possibility to export both Docker Hub login and password which is more or less used for the private registry and skopeo:

But, this env variables are not used for all the helm chart pulls which may require it too (ex bitnami as we have seen in gate).

So mainly 3 options:

  • cnf-testsuite calls docker login if the env variables are set but that could erase a previous ~/.docker/config.json
  • cnf-testsuite only copies the ~/.docker/config.json if it exists in cluster_tools and in the private registry (+ documentation updates to remove the env variables)
  • documentation is updated to warn then enduser about ~/.docker/config.json may be needed when cnf-testsuite pulls the helm charts

Depending on the agreed solution, the workflow could be updated / enhanced.

@collivier collivier added the bug Something isn't working label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant