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

helm deploy plugin doesn't handle release names with multiple dashes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: High High
    • Frankfurt Release
    • Frankfurt Release
    • None
    • None
    • Hide

      This is a sample of a default description for OOM bug questions

      Show
      This is a sample of a default description for OOM bug questions

      helm deploy plugin cannot handle helm release with multiple dashes "-" in the release name.

      Observed this this in Frankfurt release. Maybe other releases are affected as well.

      Currently it takes second octet of release name and thinks that we are upgrading subchart only, but if that second octet doesn't match any subchart name deploy script does nothing.

      Example. Release name is like MYRELEASE-XXX-YYY

      SUBCHART_RELEASE=XXX

      and RELEASE=MYRELEASE

      then it goes through all subcharts and tries to update subchart XXX and as we don't have such subchart it fails.

       

      I created bugfix for this and tested it locally and it worked well. Will create change shortly to add it to Frankfurt.

            maratsal maratsal
            maratsal maratsal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: