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

Support crossplane function pull from local docker registry #5494

Closed
markphillips100 opened this issue Mar 19, 2024 · 2 comments
Closed

Support crossplane function pull from local docker registry #5494

markphillips100 opened this issue Mar 19, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@markphillips100
Copy link

What problem are you facing?

I'm using KCL via a kcl-function provider and have recently had success using crossplane beta render via the crossplane cli for rendering function output locally. The cli talks to a local kcl function service that is able to pull an oci package from my local docker registry using a non-ssl connection.

I want to be able to use my local docker registry in a similar setup from my local KinD cluster where I have crossplane installed. I have a feeling the annotations are only supported by the cli though so is there a way to have the crossplane controller talk to the local kcl function in the same way the cli does so that a non-ssl local docker registry can be used?

How could Crossplane help solve your problem?

Support the crossplane controller access to a locally (on the host) running function so that a local crossplane/function innerloop is possible.

@markphillips100 markphillips100 added the enhancement New feature or request label Mar 19, 2024
@markphillips100
Copy link
Author

Just to add, I did try using oci://host.docker.internal:7900/.... from the composition's kcl function to see if it would pull but this complains due to the lack of SSL.

This is the error from describing the composite:

Get "https://host.docker.internal:7900/v2/tuckerbox/country-composition-kcl/tags/list": http: server gave HTTP response to HTTPS client

@markphillips100
Copy link
Author

Closing as I believe this is an issue for kcl function rather than crossplane specifically.

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

No branches or pull requests

1 participant