Automator: update common-files@master in istio/istio.io@master (#8095)

This commit is contained in:
Istio Automation 2020-09-08 09:18:23 -07:00 committed by GitHub
parent 676c6da91c
commit ec83213fdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
7ba518612626084828915e775f03c10a91322f5a
152371735b16fcda56f31ea1a610c8e905f3a8d1

View File

@ -109,7 +109,7 @@ fi
add_KUBECONFIG_if_exists () {
if [[ -f "$1" ]]; then
kubeconfig_random="$(od -vAn -N4 -tx /dev/random | tr -d '[:space:]' | cut -c1-8)"
container_kubeconfig+="/home/${kubeconfig_random}:"
container_kubeconfig+="/config/${kubeconfig_random}:"
CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${1},destination=/config/${kubeconfig_random},readonly "
fi
}