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:

  1. 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:

  1. go mod tidy
  2. go mod vendor
  3. 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.