Skip to content

Commit

Permalink
Exit if edge-proxy runs in non-kubernetes environment
Browse files Browse the repository at this point in the history
  • Loading branch information
dmolokanov committed May 29, 2019
1 parent cf342b2 commit fe49171
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion edge-proxy/src/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ then
token=`cat ${file}`
else
echo "Could not find file ${file}"
exit 1
fi

config_src="/etc/traefik/traefik.toml"
Expand All @@ -28,4 +29,4 @@ then
fi

# call traefik entry point script with a new config
/entrypoint.sh -c /traefik.toml
/entrypoint.sh -c /traefik.toml

0 comments on commit fe49171

Please sign in to comment.