diff options
author | Alexis de Talhouƫt <alexis.de_talhouet@bell.ca> | 2018-09-20 18:39:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-20 18:39:12 +0000 |
commit | cc927e9e4ff9c4f28ba0ee0bc6256ee0eed8338e (patch) | |
tree | eb03a2f2e75432ca209920ca5d44bcef95e2b713 /kubernetes/policy/charts/drools/resources/scripts | |
parent | cde669526515794ee358d734fa4894259c680890 (diff) | |
parent | 3c23ce08aab29a10455b4c383d1c4ed7abf7dfb0 (diff) |
Merge "Correct namespace in update-vfw-op-policy.sh"
Diffstat (limited to 'kubernetes/policy/charts/drools/resources/scripts')
-rw-r--r-- | kubernetes/policy/charts/drools/resources/scripts/update-vfw-op-policy.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/policy/charts/drools/resources/scripts/update-vfw-op-policy.sh b/kubernetes/policy/charts/drools/resources/scripts/update-vfw-op-policy.sh index c44c8f0f52..e85449a6da 100644 --- a/kubernetes/policy/charts/drools/resources/scripts/update-vfw-op-policy.sh +++ b/kubernetes/policy/charts/drools/resources/scripts/update-vfw-op-policy.sh @@ -84,8 +84,8 @@ echo "Restarting PDP-D .." echo echo -POD=$(kubectl --namespace onap-policy get pods | sed 's/ .*//'| grep drools) -kubectl --namespace onap-policy exec -it ${POD} -- bash -c "source /opt/app/policy/etc/profile.d/env.sh && policy stop && sleep 5 && policy start" +POD=$(kubectl --namespace {{ include "common.namespace" . }} get pods | sed 's/ .*//'| grep drools) +kubectl --namespace {{ include "common.namespace" . }} exec -it ${POD} -- bash -c "source /opt/app/policy/etc/profile.d/env.sh && policy stop && sleep 5 && policy start" sleep 20 |