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
Embed BPF templates in cilium-agent #354
Conversation
Signed-off-by: Thomas Graf <thomas@cilium.io>
This avoids requiring to install the BPF template files in /usr/lib/cilium and embeds these template files in the binary instead to ease distribution. Related: #324 Signed-off-by: Thomas Graf <thomas@cilium.io>
a79ebe8
to
2d61a2c
Compare
@@ -11,5 +11,7 @@ sudo tar -C /usr/local -xJf $CLANG_FILE | |||
sudo ln -s /usr/local/$CLANG_DIR /usr/local/clang | |||
rm $CLANG_FILE | |||
|
|||
go get -u github.com/jteeuwen/go-bindata/... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why doesn't this belong to vendor?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a binary, we only need it at development time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you document that somewhere? We already need go-swagger
and now this go-bindata
as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will add this to the developer docs.
go-swagger
and now thisgo-bindata
as well