-
Kubernetes Submit Queue authored
Merge pull request #46419 from bruceauyeung/k8s-branch-fix-make-release-doesnt-respect-go-build-flags Automatic merge from submit-queue (batch tested with PRs 44061, 46614, 46419, 46628, 46134) fix make release/quick-release doesn't respect go build flags **What this PR does / why we need it**: k8s build process run `make cross` in a docker container, so we have to pass make command line variables to docker container, then each environment variable in docker container will be transformed into a makefile variable with the same name and value. with this PR, `make release GOFLAGS=xx GOLDFLAGS=xx GOGCFLAGS=xx`, `make quick-release GOFLAGS=xx GOLDFLAGS=xx GOGCFLAGS=xx` will work as expected **Which issue this PR fixes**: fixes #46274
47ba1a6c