Make gomaxprocs install optional, limit to tests

This commit is contained in:
Jordan Liggitt
2023-08-16 09:33:02 -04:00
parent 8cb979ae55
commit bd36be0218
3 changed files with 17 additions and 10 deletions

View File

@@ -18,6 +18,7 @@ KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
source "${KUBE_ROOT}/hack/lib/init.sh"
kube::golang::setup_env
kube::golang::setup_gomaxprocs
# start the cache mutation detector by default so that cache mutators will be found
KUBE_CACHE_MUTATION_DETECTOR="${KUBE_CACHE_MUTATION_DETECTOR:-true}"