summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-09-20 14:03:34 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-20 14:03:34 +0000
commit3318e93aa16b234c5bcbaf0390ece8ad26388fee (patch)
tree2826465c1b1eed09d6d733ec9947309f85b4c1bf
parentda01cbbe7dd36a9e180b4c4d36dcd95e9586075a (diff)
parent81fdcfe0226139b3016cae307a1be55a195a0446 (diff)
Merge "Correct namespace in update-vfw-op-policy.sh" into beijing
-rw-r--r--kubernetes/policy/charts/drools/resources/scripts/update-vfw-op-policy.sh4
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 a6c054dbc1..1145f04a7e 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