Skip to content

Commit

Permalink
chore: add the namespace to the tp command and update the MOUNT_VOLUM…
Browse files Browse the repository at this point in the history
…E_LOCAL
  • Loading branch information
Jose De la Mora authored and Philippe Granger committed Jan 26, 2022
1 parent a1235b0 commit 068bae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emojivoto-web-app/js/setup_dev_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set_os_arch() {
case $uname in
"Darwin")
OS="darwin"
MOUNT_VOLUME_LOCAL=~/Library/Application\ Support
MOUNT_VOLUME_LOCAL=~/Library/Application Support
;;
"Linux")
OS="linux"
Expand Down Expand Up @@ -111,7 +111,7 @@ connect_local_dev_env_to_remote() {
export KUBECONFIG=./emojivoto_k8s_context.yaml
echo 'Connecting local dev env to remote K8s cluster'
telepresence login --apikey=$AMBASSADOR_API_KEY
telepresence intercept web-app-57bc7c4959 --service web-app --port 8083:80 --ingress-port 80 --ingress-host ambassador.ambassador --ingress-l5 ambassador.ambassador
telepresence intercept web-app-57bc7c4959 -n emojivoto --service web-app --port 8083:80 --ingress-port 80 --ingress-host ambassador.ambassador --ingress-l5 ambassador.ambassador
telOut=$?
if [ $telOut != 0 ]; then
exit $telOut
Expand Down

0 comments on commit 068bae9

Please sign in to comment.