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

Private function pull fails in crossplane beta render #5581

Open
Tracked by #3957
dee-kryvenko opened this issue Apr 13, 2024 · 1 comment · May be fixed by #5646
Open
Tracked by #3957

Private function pull fails in crossplane beta render #5581

dee-kryvenko opened this issue Apr 13, 2024 · 1 comment · May be fixed by #5646
Labels
bug Something isn't working crossplane-cli functions good first issue Good for newcomers

Comments

@dee-kryvenko
Copy link

What happened?

I have a private function published in my private registry. Even if I use docker login, the crossplane beta render still fails with:

crossplane: error: cannot render composite resource: cannot start Function "function-aws-data": cannot pull Docker image "harbor.local/enterprise.ghcr.io/my-org/crossplane-function-aws-data:v0.0.17": Error response from daemon: unauthorized: unauthorized to access repository: enterprise.ghcr.io/my-org/crossplane-function-aws-data, action: pull: unauthorized to access repository: enterprise.ghcr.io/my-org/crossplane-function-aws-data, action: pull

I verified that I can in fact docker pull my function image just fine, and after I pull it manually the crossplane beta render starts to work just fine too.

My private registry is Harbor in case that matters, and my local environment I run the crossplane beta render command is a MacOS M1 running Rancher Desktop in K3d mode.

How can we reproduce it?

Try to crossplane beta render on a composition using a private image, I guess.

What environment did it happen in?

Crossplane version: v1.15.0

@Jonath-z
Copy link

Jonath-z commented May 2, 2024

@jbw976 I would love to work on this issue, Would you give me some guidance if you don't mind?

@padlar padlar linked a pull request May 2, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crossplane-cli functions good first issue Good for newcomers
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

3 participants