Chore: Update k8s.io dependencies (#91692)

This commit is contained in:
Todd Treece
2024-08-08 18:39:44 +03:00
committed by GitHub
parent d1deef29ff
commit b4126d3bce
26 changed files with 267 additions and 282 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
package hack
// this ensures that code-generator is available in the go.mod file,
// which is a dependency of the ./update-codegen.sh script.
import (
"k8s.io/code-generator/pkg/util"
_ "k8s.io/code-generator/pkg/util"
)
var _ = util.CurrentPackage
+1 -1
View File
@@ -10,7 +10,7 @@ set -o nounset
set -o pipefail
SCRIPT_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
CODEGEN_PKG=${CODEGEN_PKG:-$(cd "${SCRIPT_ROOT}"; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo $(go env GOPATH)/pkg/mod/k8s.io/code-generator@v0.29.1)}
CODEGEN_PKG=${CODEGEN_PKG:-$(cd "${SCRIPT_ROOT}"; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo $(go env GOPATH)/pkg/mod/k8s.io/code-generator@v0.31.0-rc.1)}
OUTDIR="${HOME}/go/src"
OPENAPI_VIOLATION_EXCEPTIONS_FILENAME="zz_generated.openapi_violation_exceptions.list"