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

Custom kamelets are not fetched from private GitHub repository #5173

Closed
eshepelyuk opened this issue Feb 21, 2024 · 0 comments · Fixed by #5457
Closed

Custom kamelets are not fetched from private GitHub repository #5173

eshepelyuk opened this issue Feb 21, 2024 · 0 comments · Fixed by #5457
Labels
kind/bug Something isn't working
Milestone

Comments

@eshepelyuk
Copy link

What happened?

Using this guide
I am tryign to configure custom kamelet repository using private GitHub source repository.

According to this Zulip chat - I was trying to add GITHUB_TOKEN as env variable to operator pod, but operator doesn't work with private repositories.

Steps to reproduce

  1. Create private / internal repository on GitHub
  2. Put sample test kamelet inside a repository.
  3. Generate PAT token.
  4. Add PAT token as env variable to operator installation.
  5. Add custom repository from 1st step as Kamelet catalog to IntegrationPlatform.

Relevant log output

{"level":"error","ts":"2024-02-21T15:46:52Z","msg":"Reconciler error","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","Integration":{"name":"test-pipe","namespace":"camel"},"namespace":"camel","name":"test-pipe","reconcileID":"8204073e-7b1b-419a-8e39-ca43c202d0aa","error":"error during trait customization: kamelets trait execution failed: invalid character 'a' looking for beginning of value","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:324\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:265\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:226"}


### Camel K version

2.2.0
@eshepelyuk eshepelyuk added the kind/bug Something isn't working label Feb 21, 2024
squakez added a commit to squakez/camel-k that referenced this issue May 6, 2024
@squakez squakez added this to the 2.4.0 milestone May 6, 2024
squakez added a commit to squakez/camel-k that referenced this issue May 6, 2024
squakez added a commit to squakez/camel-k that referenced this issue May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants