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

Specify authfile path #896

Open
Joshua-Beha opened this issue Jul 25, 2024 · 0 comments
Open

Specify authfile path #896

Joshua-Beha opened this issue Jul 25, 2024 · 0 comments

Comments

@Joshua-Beha
Copy link

Version

$ oc-mirror version
Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.16.0-202407100906.p0.g75da281.assembly.stream.el9-75da281", GitCommit:"75da281989a147ead237e738507bbd8cec3175e5", GitTreeState:"clean", BuildDate:"2024-07-10T09:46:55Z", GoVersion:"go1.21.11 (Red Hat 1.21.11-1.module+el8.10.0+21986+2112108a) X:strictfipsruntime", Compiler:"gc", Platform:"linux/s390x"}

What happened?

While attempting to use the oc-mirror tool, it became apparent that registry credentials must be stored in the {XDG_RUNTIME_DIR}/containers/auth.json location. I think it would be useful to have an option for specifying an auth file location (similar to how podman does it).

What did you expect to happen?

Having an option to specify an auth file.

How to reproduce it (as minimally and precisely as possible)?

$ oc-mirror --help

Anything else we need to know?

Just a feature request, no current issue

References

NA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant