(fix) make debug-report compat w/ kubectl
Recent change to move kubectl out of a container requires that the user environment now directly be configured with KUBECONFIG. Ensure it is available for debug-report. Change-Id: Ia4dae81bc9733c4a9ae442c836626a117fc2f504
This commit is contained in:
parent
3155a3824d
commit
92e4292242
|
@ -8,6 +8,7 @@ NAMESPACE_PATTERN=${NAMESPACE_PATTERN:-'.*'}
|
|||
|
||||
# NOTE(mark-burnett): This should add calicoctl to the path.
|
||||
export PATH=${PATH}:/opt/cni/bin
|
||||
export KUBECONFIG=${KUBECONFIG:-"/etc/kubernetes/admin/kubeconfig.yaml"}
|
||||
|
||||
TEMP_DIR=$(mktemp -d -p "$BASETEMP")
|
||||
export TEMP_DIR
|
||||
|
|
Loading…
Reference in New Issue