Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Run all components in one namespace
[oom.git]
/
kubernetes
/
config
/
docker
/
init
/
src
/
config
/
consul
/
consul-agent-config
/
scripts
/
data-router-script.sh
diff --git
a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/scripts/data-router-script.sh
b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/scripts/data-router-script.sh
index
53cd588
..
2c7a949
100755
(executable)
--- a/
kubernetes/config/docker/init/src/config/consul/consul-agent-config/scripts/data-router-script.sh
+++ b/
kubernetes/config/docker/init/src/config/consul/consul-agent-config/scripts/data-router-script.sh
@@
-1,8
+1,8
@@
-NAME=$(/consul/config/bin/kubectl -n
onap-aai
get pod | grep -o "data-router[^[:space:]]*")
+NAME=$(/consul/config/bin/kubectl -n
namespace-placeholder
get pod | grep -o "data-router[^[:space:]]*")
if [ -n "$NAME" ]; then
if [ -n "$NAME" ]; then
- if /consul/config/bin/kubectl -n
onap-aai
exec -it $NAME -- ps -efww | grep 'java' | grep 'data-router' > /dev/null; then
+ if /consul/config/bin/kubectl -n
namespace-placeholder
exec -it $NAME -- ps -efww | grep 'java' | grep 'data-router' > /dev/null; then
echo Success. Synapse process is running. 2>&1
exit 0
echo Success. Synapse process is running. 2>&1
exit 0