Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-8249

[DSG] Environment variables uploaded as ConfigMap are stored and rendered as Secrets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • RHODS_1.27.0_GA
    • RHODS_1.26.0_GA, RHODS_1.25.0_GA
    • UI
    • False
    • None
    • False
    • Release Notes
    • Testable
    • No
    • 1.27.0-30
    • No
    • Hide
      == Environment variables uploaded as ConfigMap were stored in Secret instead
      Previously, in the OpenShift Data Science interface, when you added environment variables to a workbench by uploading a `ConfigMap` configuration, the variables were stored in a `Secret` object instead. This issue is now fixed.
      Show
      == Environment variables uploaded as ConfigMap were stored in Secret instead Previously, in the OpenShift Data Science interface, when you added environment variables to a workbench by uploading a `ConfigMap` configuration, the variables were stored in a `Secret` object instead. This issue is now fixed.
    • Bug Fix
    • Done
    • No
    • Yes
    • None
    • RHODS 1.27, RHODS 1.28

      Description of problem:

      When a user add environment variables to their workbench by uploading a ConfigMap, those env variables get stored into a Secret instead of ConfigMap. Edit page of the workbech shows the variables as Secrets too. 

      GIF showing the issue:

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Add environment variables to a workench by uploading a ConfigMap
      2. Wait until the workbench becomes "Running"
      3. click on the 3-dots menu on the right of your workbench > click Edit workbench
      4. check the environment variables section
      5. check the Secrets and ConfigMaps under the OpenShift project

      Actual results:

      environment variables which were uploaded as ConfigMap file gets stored and displayed as Secret

      Expected results:

      environment variables which were uploaded as ConfigMap file gets stored and displayed as ConfigMap

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      RHODS v1.26 (reproduced with 1.25 as well)

      Workaround:

      N/A

      Additional info:

              gkrumbac Gage Krumbach
              rhn-support-bdattoma Berto D'Attoma
              Berto D'Attoma Berto D'Attoma
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: