From a106ef381d5c8b5daf89a1b11eeb02039791161d Mon Sep 17 00:00:00 2001 From: Pengfei Ni Date: Fri, 17 Feb 2017 10:08:46 +0800 Subject: [PATCH] Defaulting client certs owner to current user if not speicified --- hack/local-up-cluster.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index 8e947cb5477..17acecb2ee8 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -42,6 +42,8 @@ CGROUPS_PER_QOS=${CGROUPS_PER_QOS:-false} CGROUP_ROOT=${CGROUP_ROOT:-""} # name of the cgroup driver, i.e. cgroupfs or systemd CGROUP_DRIVER=${CGROUP_DRIVER:-""} +# owner of client certs, default to current user if not specified +USER=${USER:-$(whoami)} # enables testing eviction scenarios locally. EVICTION_HARD=${EVICTION_HARD:-"memory.available<100Mi"}