Skip to content

Commit

Permalink
(from getambassador.io) initial
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmcclure-dw committed Mar 22, 2021
1 parent d96adbc commit 6cd9c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

<Alert severity="info">If using <code>--mount=true</code> without a command, you can use either <a href="../environment/">environment variable</a> flag to retrieve the variable.</Alert>

0 comments on commit 6cd9c26

Please sign in to comment.