-
Notifications
You must be signed in to change notification settings - Fork 250
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
containerdregistry: support per-repo credentials #1165
containerdregistry: support per-repo credentials #1165
Conversation
902db98
to
7206900
Compare
@@ -8,14 +8,14 @@ import ( | |||
"github.com/sirupsen/logrus" | |||
"github.com/spf13/cobra" | |||
"google.golang.org/grpc" | |||
health "google.golang.org/grpc/health/grpc_health_v1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We had a copy of this package in our repo, and some dependencies pulled in from this commit caused a namespace conflict because two different packages defined the same GRPC protobuf names: our copy, and this official package.
To resolve, I deleted our package and switched everything to the official package.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1165 +/- ##
=======================================
Coverage 53.32% 53.32%
=======================================
Files 108 108
Lines 10337 10337
=======================================
Hits 5512 5512
Misses 3841 3841
Partials 984 984 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
c39b878
to
3f92a5c
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: joelanford, stevekuznetsov The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The opm-auths is a wrapper script provided by dci-openshift-agent that brings support for multi-entry registry authentication when using opm. The opm client lacked the functionality as reported in: operator-framework/operator-registry#935 But lately it was added in: operator-framework/operator-registry#1165 Now it is available in the stable ocp clients: https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable/
The opm-auths is a wrapper script provided by dci-openshift-agent that brings support for multi-entry registry authentication when using opm. The opm client lacked the functionality as reported in: operator-framework/operator-registry#935 But lately it was added in: operator-framework/operator-registry#1165 Now it is available in the stable ocp clients: https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable/
The opm-auths is a wrapper script that brings support for multi-entry registry authentication when using opm. The opm client lacked the functionality as reported in: operator-framework/operator-registry#935 But lately it was added in: operator-framework/operator-registry#1165 And now it is available in the stable ocp clients https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable/ Thus, the wrapper is not needed any longer. Lastly, opm stable now provides two FIPS compiant binaries. ONe for rhel8 and another for rhel9, downloading the correct one for the agent. Change-Id: Idab1a56a594a2f5c1e6a623af8d6d9b7ff359cb1
Description of the change:
Updates the containerdregistry implementation (e.g. used by
opm render
and thenone
container tool) to support:containers/auth.json
file formatREGISTRY_AUTH_FILE
andDOCKER_CONFIG
environment variables.Motivation for the change:
Closes #935
Closes #919
Closes #1114
Reviewer Checklist
/docs