You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Create private / internal repository on GitHub
Put sample test kamelet inside a repository.
Generate PAT token.
Add PAT token as env variable to operator installation.
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
The text was updated successfully, but these errors were encountered:
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
IntegrationPlatform
.Relevant log output
The text was updated successfully, but these errors were encountered: