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

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