Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-215

configure_app for helm apps is not correct

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Beijing Release
    • Labels:
      None
    • Sprint:
      OOM Sprint 8, OOM Sprint 10 - Integration

      Description

       

      configure_app() {
       # if previous configuration exists put back original template file
       for file in $3/*.yaml; do
       if [ -e "$file-template" ]; then
       mv "$file-template" "${file%}"
       fi
       done

      $file_template is not defined before this use, the above if never runs. 

      find $3 -type f -exec sed -i -- "s/onap-/$1-/g" {} \;

      1) Above line has no meaning if you are using helm charts, all the runtime values are in values.yaml and that's where sed should run. 

      2) replace string should be of format

      "s/onap-/$1-$2-/g"

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              mkhinda Mandeep Khinda
              Reporter:
              vengo Venugopal Kanumalla
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: