mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 02:38:12 +00:00
hack: use "latest" apidiff
Pinning apidiff to a specific version shouldn't be necessary because, if past experience in klog holds true, the latest version just works. This way we don't have to remember to bump up the revision. The downside of using "latest" is that a compromise of that version would give an attacker the ability to run code in the CI and on developer machines.
This commit is contained in:
@@ -84,10 +84,7 @@ kube::util::ensure-temp-dir
|
||||
export GOBIN="${KUBE_TEMP}"
|
||||
PATH="${GOBIN}:${PATH}"
|
||||
echo "installing apidiff into ${GOBIN}"
|
||||
(
|
||||
cd "${KUBE_ROOT}/hack/tools"
|
||||
go install golang.org/x/exp/cmd/apidiff
|
||||
)
|
||||
go install golang.org/x/exp/cmd/apidiff@latest
|
||||
|
||||
cd "${KUBE_ROOT}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user