mirror of https://github.com/istio/istio.io.git
Automator: update common-files@master in istio/istio.io@master (#8095)
This commit is contained in:
parent
676c6da91c
commit
ec83213fdf
|
@ -1 +1 @@
|
|||
7ba518612626084828915e775f03c10a91322f5a
|
||||
152371735b16fcda56f31ea1a610c8e905f3a8d1
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue