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

kumadp: bring down size of binary by excluding dependency #210

Merged
merged 1 commit into from
Sep 10, 2019

Conversation

jakubdyszkiewicz
Copy link
Contributor

Summary

Bring down size of binary by excluding dependency from 40MB to 22MB. Good catch @yskopets !

envoy_bootstrap "github.com/envoyproxy/go-control-plane/envoy/config/bootstrap/v2"
"github.com/gogo/protobuf/proto"
"github.com/pkg/errors"
)

type BootstrapRequest struct {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of duplicating this type, could we just move it into another package ?

Something like github.com/Kong/kuma/pkg/xds/bootstrap/api or github.com/Kong/kuma/pkg/xds/bootstrap/rest

@gszr
Copy link
Contributor

gszr commented Sep 10, 2019

Great catch!

@gszr gszr merged commit 5f821c9 into master Sep 10, 2019
@gszr gszr deleted the chore/dp-size branch September 10, 2019 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants