From 6cd9c2666ba2e2df09dd417bf1ae59efad0ed8c4 Mon Sep 17 00:00:00 2001 From: mattmcclure-dw <73489204+mattmcclure-dw@users.noreply.github.com> Date: Mon, 22 Mar 2021 11:25:28 -0400 Subject: [PATCH] (from getambassador.io) initial --- reference/volume.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/volume.md b/reference/volume.md index ad88f58973..d489440e2c 100644 --- a/reference/volume.md +++ b/reference/volume.md @@ -30,6 +30,6 @@ bash-3.2$ echo $TELEPRESENCE_ROOT With either method, the code you run locally either from the subshell or from the intercept command will need to be prepended with the `$TELEPRESENCE_ROOT` environment variable to utilitze the mounted volumes. -For example, Kubernetes mounts secrets to `/var/run/secrets`. Once mounted, to access these you would need to change your code to use `$TELEPRESENCE_ROOT/var/run/secrets`. +For example, Kubernetes mounts secrets to `/var/run/secrets/kubernetes.io` (even if no `mountPoint` for it exists in the Pod spec). Once mounted, to access these you would need to change your code to use `$TELEPRESENCE_ROOT/var/run/secrets`. If using --mount=true without a command, you can use either environment variable flag to retrieve the variable.