Commit 40cf730c authored by daidekun's avatar daidekun

改配置

parent 88d3a306
......@@ -11,5 +11,10 @@ do
tar zxf ${package_path}/$entry -C ${package_path}
done
echo "sed sed xyqb.com to q-gp.com"
namespace=`cat /var/run/secrets/kubernetes.io/serviceaccount/namespace`
echo "namespace is $namespace"
find ${package_path}/ -name "*.js" | xargs sed -i "s/.xyqb.com/-$namespace.q-gp.com/g"
echo "/usr/bin/openresty -g 'daemon off;'"
/usr/bin/openresty -g 'daemon off;'
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment