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

[RFE] Create a configuration file to allow insecure and protocol per registry #96

Open
jpower432 opened this issue Sep 29, 2022 · 1 comment · May be fixed by #111
Open

[RFE] Create a configuration file to allow insecure and protocol per registry #96

jpower432 opened this issue Sep 29, 2022 · 1 comment · May be fixed by #111
Assignees
Labels
enhancement New feature or request

Comments

@jpower432
Copy link
Contributor

jpower432 commented Sep 29, 2022

What is the problem you're trying to solve
There is no way to configure the registry client per registry/namespace/repo. It would be helpful to have this when working with
implicating pulled references during the build process and linked collection pulling.

Describe the solution you'd like
Create a configuration file that can be used to configure a registry client per registry.

Additional context
Bonus points for allowing remapping of registries

@jpower432 jpower432 added the enhancement New feature or request label Sep 29, 2022
@jpower432 jpower432 changed the title [RFE] Create a configuration file to allow auth, insecure, protocol [RFE] Create a configuration file to allow insecure and protocol per registry Sep 30, 2022
@jpower432 jpower432 self-assigned this Oct 3, 2022
@jpower432
Copy link
Contributor Author

More information on the proposal:

This configuration file would be intended to configure the registryclient.Client used in the CLI or the gRPC server, meaning that it would contain configuration for things typically done at the host level or that would change with the same cadence.

Draft grouping (open to suggestions):

Caller configuration (sent with every request/run)

  • Auth config
  • Attributes
  • Collection references

Host-Level Configuration (Set in a configuration file read during CLI/server startup)

  • UOR Cache Location
  • Registry-specific connection information (insecure, protocol, mirrors)

@jpower432 jpower432 linked a pull request Oct 17, 2022 that will close this issue
11 tasks
jpower432 added a commit to jpower432/client that referenced this issue Oct 18, 2022
jpower432 added a commit to jpower432/client that referenced this issue Oct 20, 2022
jpower432 added a commit to jpower432/client that referenced this issue Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant