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
$ oc-mirror versionWARNING: This version information is deprecated and will be replaced with the output from --short. Use --output=yaml|json to get the full version.Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.16.0-202410242205.p0.g819f011.assembly.stream.el9-819f011", GitCommit:"819f0115e4be3f55ed7d4edae1c38035811771ae", GitTreeState:"clean", BuildDate:"2024-10-25T08:17:39Z", GoVersion:"go1.21.13 (Red Hat 1.21.13-3.module+el8.10.0+22345+acdd8d0e) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
What happened?
oc mirror keep on requesting for authorization token for the same registry but different repository
Attach the relevant portions of your .oc-mirror.log.
Make the Authorization request scope for all (or main) repository and not specific repository, so that the token can be reused. For example, instead of these scopes:
The text was updated successfully, but these errors were encountered:
syahrul-aiman
changed the title
Make the Authorization request scope for all repository and not specific repository
[RFE] Make the Authorization request scope for all repository and not specific repository
Dec 20, 2024
syahrul-aiman
changed the title
[RFE] Make the Authorization request scope for all repository and not specific repository
[RFE] Make the Authorization request scope for all (or main) repository and not specific repository
Dec 20, 2024
Version
What happened?
oc mirror keep on requesting for authorization token for the same registry but different repository
Attach the relevant portions of your
.oc-mirror.log
.What did you expect to happen?
Make the Authorization request scope for all (or main) repository and not specific repository, so that the token can be reused. For example, instead of these scopes:
repository:amq-streams/strimzi-rhel9-operator:pull
repository:amq-streams/kafka-38-rhel9:pull
Combine them to this scope:
repository:amq-streams/*:pull
How to reproduce it (as minimally and precisely as possible)?
$ oc mirror --config yaml/imageset-config.yaml docker://127.0.0.1:80/mirror --dest-skip-tls --ignore-history --dest-use-http -v 9
Anything else we need to know?
N/A
References
N/A
The text was updated successfully, but these errors were encountered: