Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.01 KB

File metadata and controls

38 lines (24 loc) · 1.01 KB

not (epub or latex or html)

WARNING: You are looking at unreleased Cilium documentation. Please use the official rendered version released here: https://docs.cilium.io

Hubble

This section is specific to Hubble contributions.

Bumping the vendored Cilium dependency

Hubble vendors Cilium using Go modules. You can bump the dependency by first running:

go get github.com/cilium/cilium@master

However, Cilium's go.mod contains replace directives, which are ignored by go get and go mod. Therefore you must also manually copy any updated replace directives from Cilium's go.mod to Hubble's go.mod.

Once you have done this you can tidy up, vendor the modules, and verify them:

go mod tidy
go mod vendor
go mod verify

The bumped dependency should be committed as a single commit containing all the changes to go.mod, go.sum, and the vendor directory.