Merge pull request #90779 from thockin/umask-for-builds

Set umask 0022 when building
This commit is contained in:
Kubernetes Prow Robot 2020-05-07 14:01:57 -07:00 committed by GitHub
commit eec809aa93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -523,6 +523,10 @@ kube::golang::setup_env() {
# This seems to matter to some tools
export GO15VENDOREXPERIMENT=1
# This is for sanity. Without it, user umasks leak through into release
# artifacts.
umask 0022
}
# This will take binaries from $GOPATH/bin and copy them to the appropriate