azure-container-networking/dropgz
aggarwal0009 8359dbb7c9
Update dockerfiles to use go v1.22 (#2931)
* update dockerfiles to use go v1.22

* more changes

* mod file update

* revert bpf-prog

* fix for e2e

* remove/update comment
2024-08-27 20:15:23 +00:00
..
build Update dockerfiles to use go v1.22 (#2931) 2024-08-27 20:15:23 +00:00
cmd
internal/buildinfo
pkg
README.md
go.mod Update dockerfiles to use go v1.22 (#2931) 2024-08-27 20:15:23 +00:00
go.sum deps: bump github.com/spf13/cobra from 1.8.0 to 1.8.1 in /dropgz (#2792) 2024-06-21 13:12:35 +00:00
main.go

README.md

Running the dropgz locally

Select the file(for example azure-ipam binary) you want to deploy using the dropgz.

  1. Copy the file (i.e azure-ipam) to the directory /dropgz/pkg/embed/fs
  2. Add the sha of the file to the sum.txt file.(sha256sum * > sum.txt)
  3. You need to gzip the file, so run the cmd gzip --verbose --best --recursive azure-ipam and rename the output .gz file to original file name.
  4. Do the step 3 for sum.txt file as well.
  5. go to dropgz directory and build it. (go build .)
  6. You can now test the dropgz command locally. (./dropgz deploy azure-ipam -o ./azure-ipam)