Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-1098

Correct namespace in update-vfw-op-policy.sh

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Beijing Release, Casablanca Release
    • None
    • None

      the namespace in update-vfw-op-policy.sh should be corrected to be "onap" instead of "onap-policy"

       

      -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 onap get pods | sed 's/ .*//'| grep drools)
      +kubectl --namespace onap exec -it ${POD} – bash -c "source /opt/app/policy/etc/profile.d/env.sh && policy stop && sleep 2 && policy
      start"

            abdelseaudi abdelseaudi
            abdelseaudi abdelseaudi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: