Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-3249

Trim whitespace from when creating image pull Secret

XMLWordPrintable

    • 1
    • False
    • None
    • False
    • OCPPLAN-8030 - Console: Customer Happiness (RFEs) for 4.8-4.12
    • HAC Infra - Sprint 223, HAC Infra - Sprint 224, HAC Infra - Sprint 225

      When creating a an image-pull Secret in OCP UI, it is possible to contain the whitespaces in following fields:

      • Registry server address
      • Username
      • Password
      • Email

      Having whitespace at the beginning or end of a registry server address is hard to see and can cause unexpected and difficult to track errors when pulling images. 

       

      AC: Trim all the whitespaces from Registry server address, Username, Password, Email fields in the Secret create/edit page, upon submitting the form. Also supply integration tests.

       

      Original RFE: https://issues.redhat.com/browse/RFE-2643

            rh-ee-dcooper Dylan Cooper
            jhadvig@redhat.com Jakub Hadvig
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: