Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-23973

Helm chart with combination of special characters with single quotes causes extra single quotes to be added to index.yaml

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 7.10.6
    • Fix Version/s: 7.12.5
    • Component/s: None
    • Labels:
      None
    • Severity:
      High
    • Regression:
      Yes

      Description

      If you have a chart with special characters and single quotes, like the below:
      appVersion: '>=8.3.0'

      Then each time the file is indexed, the number of single quotes is doubled, plus one:

      index the chart:
      apiVersion: v1

      entries:

      admin-dashboard:

      • apiVersion: v1

      appVersion: "'>=8.3.0'"

      reindex the repo:
      apiVersion: v1

      entries:

      admin-dashboard:

      • apiVersion: v1

      appVersion: "'''>=8.3.0'''"

      and again:
      apiVersion: v1

      entries:

      admin-dashboard:

      • apiVersion: v1

      appVersion: "'''''''>=8.3.0'''''''"

      Steps to reproduce:
      -Index attached chart

      Expected behavior:
      the extra single quotes should not be added

        Attachments

          Issue Links

            Activity

                People

                Assignee:
                shahafg Shahaf Golan
                Reporter:
                mattheww Matthew Wang
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Sync Status

                    Connection: RTFACT Sync
                    RTMID-23973 -
                    SYNCHRONIZED
                    • Last Sync Date: