kops uses dep to manage vendored dependencies.
The following software must be installed prior to running the update commands:
The dep
tool will manage required dependencies based on the imports
found in the source code. Follow these steps to run the update process:
- Add the desired import to a
.go
file. - Run
make dep-ensure
to start the update process. If this step is successful, the imported dependency will be added to thevendor
subdirectory. - Commit any changes, including changes to the
vendor
directory,Gopkg.lock
andGopkg.toml
. - Open a pull request with these changes separately from other work so that it is easier to review.