diff options
author | Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> | 2018-09-08 05:36:20 +0000 |
---|---|---|
committer | Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> | 2018-09-20 05:45:58 +0000 |
commit | 81fdcfe0226139b3016cae307a1be55a195a0446 (patch) | |
tree | 9833a3f684871402a4824e16b5cb8c171abda594 | |
parent | fa2caf23b9eac4f1239789f43137409d780d7868 (diff) |
Correct namespace in update-vfw-op-policy.sh
The namespace in update-vfw-op-policy.sh should be
corrected to be "onap" instead of "onap-policy".
Issue-ID: POLICY-1098
Change-Id: Ib1b1ff616645635b2779b8ee6b9aab05b01a76be
Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
-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 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 |