Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2794

Not possible to make default configmap and single secret at the same config.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.10.0
    • 1.10.0
    • Operator
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • 2

      Description of problem:

      If default-config contain both configmap-files and secret-files (with one entry) operator failed to create a CR like:

        failed to apply backstage objects: failed to apply object: failed to create typed patch object (ns-1-07alx/backstage-test-backstage-y9dxg; apps/v1,                       
        Kind=Deployment): .spec.template.spec.volumes: duplicate entries for key [name="backstage-files-test-backstage-y9dxg"

      It happens because it generates the same name for both.

       

      NOTE: The problem is potential, not reproducible in practice since we do not have such default configuration (that's why affect version is unreleased 1.10) but it make us limited especially for Flavour case. 

       

       

              gazarenk-1 Gennady Azarenkov
              gazarenk-1 Gennady Azarenkov
              RHDH Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: