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

XFN container needs a default registry to pull images from #4116

Closed
bobh66 opened this issue May 26, 2023 · 2 comments · Fixed by #4278
Closed

XFN container needs a default registry to pull images from #4116

bobh66 opened this issue May 26, 2023 · 2 comments · Fixed by #4278
Assignees
Milestone

Comments

@bobh66
Copy link
Contributor

bobh66 commented May 26, 2023

What problem are you facing?

Composition functions require the image registry to be specified in the Composition along with the repository and tag, unlike Provider and Configuration package specifications which only require the repository and tag. This makes portability of Compositions a lot more difficult when different environments use different registries.

The crossplane container accepts a -r registry command line option to allow for a default registry to pull packages from. It defaults to index.docker.io but can be overridden to pull from a specific registry by default. That allows Provider and Configuration packages to specify only the repository and tag information for an image, and they are registry-independent.

How could Crossplane help solve your problem?

Provide support for a configurable default image registry to pull Composition Function images from so that the registry does not need to be specified in the Composition.

@bobh66
Copy link
Contributor Author

bobh66 commented Jun 27, 2023

Hi @pedjak - I have an idea how to solve this if you haven't started on it yet. It's becoming more of a blocker for us so I'd like to get it into the next release, but happy to wait if you're working on it. Thanks!

@pedjak
Copy link
Contributor

pedjak commented Jun 27, 2023

@bobh66 thanks for offering the help - I did not start working on the issue yet. Looking forward to your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants